From 1e89ffd8083080bb730fa5d0606aef9852b9cbd8 Mon Sep 17 00:00:00 2001 From: cTn Date: Thu, 5 Dec 2013 23:15:37 +0100 Subject: [PATCH] show raw firmware size in bytes --- tabs/firmware_flasher.html | 2 +- tabs/firmware_flasher.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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'); }