mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-14 20:10:11 +03:00
interval timers bugfixes
This commit is contained in:
parent
f352c4edbe
commit
e37da07bc8
1 changed files with 6 additions and 2 deletions
|
@ -227,8 +227,7 @@ GUI_control.prototype.tab_switch_cleanup = function(callback) {
|
||||||
if (callback) callback();
|
if (callback) callback();
|
||||||
break;
|
break;
|
||||||
case 'motor_outputs':
|
case 'motor_outputs':
|
||||||
GUI.interval_remove('motor_pull');
|
GUI.interval_kill_all();
|
||||||
GUI.interval_remove('status_pull');
|
|
||||||
|
|
||||||
if (callback) callback();
|
if (callback) callback();
|
||||||
break;
|
break;
|
||||||
|
@ -265,6 +264,11 @@ 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
|
}, 5000); // if we dont allow enough time to reboot, CRC of "first" command sent will fail, keep an eye for this one
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
|
case 'logging':
|
||||||
|
GUI.interval_kill_all();
|
||||||
|
|
||||||
|
if (callback) callback();
|
||||||
|
break;
|
||||||
case 'firmware_flasher':
|
case 'firmware_flasher':
|
||||||
// this.interval_remove('factory_mode');
|
// this.interval_remove('factory_mode');
|
||||||
PortHandler.flush_callbacks();
|
PortHandler.flush_callbacks();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue