summaryrefslogtreecommitdiffstats
path: root/apps/iap/iap-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/iap/iap-core.c')
-rw-r--r--apps/iap/iap-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/iap/iap-core.c b/apps/iap/iap-core.c
index 4fa9c09a47..9e5771ab50 100644
--- a/apps/iap/iap-core.c
+++ b/apps/iap/iap-core.c
@@ -718,7 +718,8 @@ void iap_periodic(void)
* is in the RX buffer right now.
*/
IAP_TX_INIT(0x00, 0x17);
- IAP_TX_PUT_DATA(iap_rxstart, 20);
+ IAP_TX_PUT_DATA(iap_rxstart,
+ (device.auth.version == 0x100) ? 16 : 20);
IAP_TX_PUT(0x01);
iap_send_tx();