mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
mostly working flash on connect sequence
This commit is contained in:
parent
0c3374d8a1
commit
09a1252410
2 changed files with 63 additions and 2 deletions
|
@ -259,6 +259,12 @@ GUI_control.prototype.tab_switch_cleanup = function(callback) {
|
|||
}, 5000); // if we dont allow enough time to reboot, CRC of "first" command sent will fail, keep an eye for this one
|
||||
});
|
||||
break;
|
||||
|
||||
case 'firmware_flasher':
|
||||
PortHandler.flush_callbacks();
|
||||
|
||||
if (callback) callback();
|
||||
break;
|
||||
|
||||
default:
|
||||
if (callback) callback();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue