diff options
Diffstat (limited to 'apps/plugins/firmware_flash.c')
| -rw-r--r-- | apps/plugins/firmware_flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/firmware_flash.c b/apps/plugins/firmware_flash.c index fa77a33..1fc6b07 100644 --- a/apps/plugins/firmware_flash.c +++ b/apps/plugins/firmware_flash.c @@ -362,13 +362,13 @@ tCheckResult CheckFirmwareFile(char* filename, int chipsize, bool is_romless) } if (fileleft == 256*1024) - { // original dumped firmware file has no CRC nor platform ID + { /* original dumped firmware file has no CRC nor platform ID */ has_crc = false; } else { has_crc = true; - fileleft -= sizeof(unsigned); // exclude the last 4 bytes + fileleft -= sizeof(unsigned); /* exclude the last 4 bytes */ } /* do some sanity checks */ |