projects
/
hmcfgusb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bb6704
)
firmware: fix maximum size
master
author
Michael Gernoth
<michael@gernoth.net>
Tue, 15 Sep 2020 06:54:22 +0000
(08:54 +0200)
committer
Michael Gernoth
<michael@gernoth.net>
Tue, 15 Sep 2020 06:54:22 +0000
(08:54 +0200)
firmware.c
patch
|
blob
|
blame
|
history
diff --git
a/firmware.c
b/firmware.c
index 36ef43568a18255d13962b1a49f75b424b03a761..e1cf34eea995d22977e1d6beae2baacad9b87390 100644
(file)
--- a/
firmware.c
+++ b/
firmware.c
@@
-47,7
+47,7
@@
#define HEX_BLOCK_LENGTH_644P 256
#define HEX_IMAGE_SIZE_328P 0x7000
#define HEX_IMAGE_SIZE_644P 0xF000
-#define HEX_IMAGE_SIZE_MAX 0x
FFFF
+#define HEX_IMAGE_SIZE_MAX 0x
10000
static uint16_t crc16(uint8_t* buf, int length, uint16_t crc)
{
Impressum
,
Datenschutz