Skip to content

Commit 0454dc8

Browse files
committed
update code size for header
1 parent 07c217a commit 0454dc8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

hardware/arduino/zunoG2/cores/LLCore/LLCore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void * zunoJumpTable(int vec, void * data);
9696
ZUNOCodeHeader_t g_zuno_codeheader __attribute__((section(".sketch_struct"))) = {
9797
{'Z','M','E','Z','U','N','O','C'},
9898
ZUNO_CORE_VERSION_MAJOR, ZUNO_CORE_VERSION_MINOR,
99-
0x0000, 0x0000,
99+
0x0000, 0x0000, 0x0000,
100100
SKETCH_FLAGS,
101101
SKETCH_FWID,
102102
(uint32_t)&zunoJumpTable,

hardware/arduino/zunoG2/cores/LLCore/LLCore.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ typedef struct ZUNOCodeHeader_s{
1616
char sign[8];
1717
uint8_t version_major;
1818
uint8_t version_minor;
19-
uint16_t code_size;
19+
uint16_t code_size_1;
2020
uint16_t crc16;
21+
uint16_t code_size_2;
2122
uint32_t flags;
2223
uint16_t fwId;
2324
uint32_t jumptable_offset;

0 commit comments

Comments
 (0)