1
0
Fork 0

Tunes the MTU parameters for max upload speed with boot_serial

This commit is contained in:
Shawn Nock 2019-05-08 10:48:25 +00:00
parent 5f8a942ad4
commit 57d47d64c9
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@
#include "sha256.h" #include "sha256.h"
#endif #endif
#define IMAGE_CHUNK_SIZE 124 #define IMAGE_CHUNK_SIZE 216 // 124 for identical output to newtmgr
#define MACRO_CHUNK_SIZE 302 #define MACRO_CHUNK_SIZE 432 // 302 ""
#define CRC16_INITIAL_CRC 0 /* what to seed crc16 with */ #define CRC16_INITIAL_CRC 0 /* what to seed crc16 with */
#define CRC_CITT_POLYMINAL 0x1021 #define CRC_CITT_POLYMINAL 0x1021