mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-20 23:05:15 +03:00
bugfixes
This commit is contained in:
parent
18d59665b4
commit
a0c442064f
1 changed files with 8 additions and 6 deletions
|
@ -63,6 +63,7 @@ function tab_initialize_firmware_flasher() {
|
||||||
});
|
});
|
||||||
|
|
||||||
$('a.flash_firmware').click(function() {
|
$('a.flash_firmware').click(function() {
|
||||||
|
if (!GUI.connect_lock) { // button disabled while flashing is in progress
|
||||||
if (raw_hex != false) {
|
if (raw_hex != false) {
|
||||||
STM32.hex_to_flash = raw_hex.slice(0);
|
STM32.hex_to_flash = raw_hex.slice(0);
|
||||||
|
|
||||||
|
@ -70,6 +71,7 @@ function tab_initialize_firmware_flasher() {
|
||||||
} else {
|
} else {
|
||||||
STM32.GUI_status('<span style="color: red">Firmware not loaded</span>');
|
STM32.GUI_status('<span style="color: red">Firmware not loaded</span>');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue