diff --git a/tabs/firmware_flasher.html b/tabs/firmware_flasher.html index daf6458a..9dbce773 100644 --- a/tabs/firmware_flasher.html +++ b/tabs/firmware_flasher.html @@ -120,7 +120,7 @@
Path:empty
- Size:0.000 kb
+ Size:0 bytes
Status:Firmware not loaded
Progress:
diff --git a/tabs/firmware_flasher.js b/tabs/firmware_flasher.js index 16944da7..96366772 100644 --- a/tabs/firmware_flasher.js +++ b/tabs/firmware_flasher.js @@ -38,7 +38,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 / 1000) + ' kB'); + $('span.size').html(parsed_hex.bytes + ' bytes'); } else { STM32.GUI_status('HEX file appears to be corrupted'); } @@ -69,7 +69,7 @@ function tab_initialize_firmware_flasher() { $('a.flash_firmware').removeClass('locked'); $('span.path').html('Using remote Firmware'); - $('span.size').html((parsed_hex.bytes / 1000) + ' kB'); + $('span.size').html(parsed_hex.bytes + ' bytes'); } else { STM32.GUI_status('HEX file appears to be corrupted'); }