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 fa77a33697..1fc6b07a89 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) | |||
362 | } | 362 | } |
363 | 363 | ||
364 | if (fileleft == 256*1024) | 364 | if (fileleft == 256*1024) |
365 | { // original dumped firmware file has no CRC nor platform ID | 365 | { /* original dumped firmware file has no CRC nor platform ID */ |
366 | has_crc = false; | 366 | has_crc = false; |
367 | } | 367 | } |
368 | else | 368 | else |
369 | { | 369 | { |
370 | has_crc = true; | 370 | has_crc = true; |
371 | fileleft -= sizeof(unsigned); // exclude the last 4 bytes | 371 | fileleft -= sizeof(unsigned); /* exclude the last 4 bytes */ |
372 | } | 372 | } |
373 | 373 | ||
374 | /* do some sanity checks */ | 374 | /* do some sanity checks */ |