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:
parent
e6a6f0a075
commit
df602751f5
1 changed files with 2 additions and 2 deletions
|
@ -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>');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue