aboutsummaryrefslogtreecommitdiffstats
path: root/src/fig
diff options
context:
space:
mode:
Diffstat (limited to 'src/fig')
-rw-r--r--src/fig/FIG0_13.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fig/FIG0_13.cpp b/src/fig/FIG0_13.cpp
index d1d18c7..4233302 100644
--- a/src/fig/FIG0_13.cpp
+++ b/src/fig/FIG0_13.cpp
@@ -120,7 +120,10 @@ FillStatus FIG0_13::fill(uint8_t *buf, size_t max_size)
required_size += sizeof(FIG0_13_app) + xpaddata_length;
if (ua.uaType == FIG0_13_APPTYPE_SPI) {
- required_size += 2; // For the "basic profile" user application data
+ required_size += 1;
+ }
+ else if (ua.uaType == FIG0_13_APPTYPE_WEBSITE) {
+ required_size += 2;
}
}