1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-26 17:55:24 +03:00

bugfixes related to new ihex parser land

This commit is contained in:
cTn 2014-02-09 15:36:22 +01:00
parent e6a6f0a075
commit df602751f5

View file

@ -43,7 +43,7 @@ function tab_initialize_firmware_flasher() {
STM32.GUI_status('<span style="color: green">Firmware loaded, ready for flashing</span>'); STM32.GUI_status('<span style="color: green">Firmware loaded, ready for flashing</span>');
$('a.flash_firmware').removeClass('locked'); $('a.flash_firmware').removeClass('locked');
$('span.size').html(parsed_hex.bytes + ' bytes'); $('span.size').html(parsed_hex.bytes_total + ' bytes');
} else { } else {
STM32.GUI_status('<span style="color: red">HEX file appears to be corrupted</span>'); STM32.GUI_status('<span style="color: red">HEX file appears to be corrupted</span>');
} }
@ -75,7 +75,7 @@ function tab_initialize_firmware_flasher() {
$('a.flash_firmware').removeClass('locked'); $('a.flash_firmware').removeClass('locked');
$('span.path').html('Using remote Firmware'); $('span.path').html('Using remote Firmware');
$('span.size').html(parsed_hex.bytes + ' bytes'); $('span.size').html(parsed_hex.bytes_total + ' bytes');
} else { } else {
STM32.GUI_status('<span style="color: red">HEX file appears to be corrupted</span>'); STM32.GUI_status('<span style="color: red">HEX file appears to be corrupted</span>');
} }