summaryrefslogtreecommitdiffstats
path: root/firmware/export/iap.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/iap.h')
-rw-r--r--firmware/export/iap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/export/iap.h b/firmware/export/iap.h
index 8ee26cbe9f..22f36083d1 100644
--- a/firmware/export/iap.h
+++ b/firmware/export/iap.h
@@ -22,7 +22,9 @@
#include <stdbool.h>
-#define RX_BUFLEN 512
+/* This is just the payload size, without sync, length and checksum */
+#define RX_BUFLEN (64*1024)
+/* This is the entire frame length, sync, length, payload and checksum */
#define TX_BUFLEN 128
extern bool iap_getc(unsigned char x);