mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-16 21:05:30 +03:00
Verify board from firmware before flashing
This commit is contained in:
parent
2273b36fa3
commit
7af9fb28a9
6 changed files with 181 additions and 28 deletions
|
@ -170,6 +170,11 @@ PortHandler.detectPort = function(currentPorts) {
|
|||
}
|
||||
});
|
||||
|
||||
// Signal board verification
|
||||
if (GUI.active_tab === 'firmware_flasher') {
|
||||
TABS.firmware_flasher.boardNeedsVerification = true;
|
||||
}
|
||||
|
||||
// auto-connect if enabled
|
||||
if (GUI.auto_connect && !GUI.connecting_to && !GUI.connected_to) {
|
||||
// start connect procedure. We need firmware flasher protection over here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue