diff --git a/tabs/firmware_flasher.js b/tabs/firmware_flasher.js index 909f0684..cf3a4c6c 100644 --- a/tabs/firmware_flasher.js +++ b/tabs/firmware_flasher.js @@ -43,7 +43,7 @@ function tab_initialize_firmware_flasher() { STM32.GUI_status('Firmware loaded, ready for flashing'); $('a.flash_firmware').removeClass('locked'); - $('span.size').html(parsed_hex.bytes + ' bytes'); + $('span.size').html(parsed_hex.bytes_total + ' bytes'); } else { STM32.GUI_status('HEX file appears to be corrupted'); } @@ -75,7 +75,7 @@ function tab_initialize_firmware_flasher() { $('a.flash_firmware').removeClass('locked'); $('span.path').html('Using remote Firmware'); - $('span.size').html(parsed_hex.bytes + ' bytes'); + $('span.size').html(parsed_hex.bytes_total + ' bytes'); } else { STM32.GUI_status('HEX file appears to be corrupted'); }