1
0
Fork 0
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:
cTn 2014-02-26 08:10:08 +01:00
parent 0c3374d8a1
commit 09a1252410
2 changed files with 63 additions and 2 deletions

View file

@ -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();