We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6718f2d commit 4153976Copy full SHA for 4153976
src/intel_hex.c
@@ -68,7 +68,7 @@ uint8_t ihx_check_line(char line[]) {
68
if (record_type > 1)
69
return IHX_BAD_RECORD_TYPE;
70
71
- if (address < USER_CODE_BASE || address > FLASH_SIZE)
+ if (record_type != IHX_RECORD_EOF && (address < USER_CODE_BASE || address > FLASH_SIZE))
72
return IHX_BAD_ADDRESS;
73
74
sum = 0;
0 commit comments