mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 11:29:53 +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();
|
||||
break;
|
||||
case 'motor_outputs':
|
||||
GUI.interval_remove('motor_pull');
|
||||
GUI.interval_remove('status_pull');
|
||||
GUI.interval_kill_all();
|
||||
|
||||
if (callback) callback();
|
||||
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
|
||||
});
|
||||
break;
|
||||
case 'logging':
|
||||
GUI.interval_kill_all();
|
||||
|
||||
if (callback) callback();
|
||||
break;
|
||||
case 'firmware_flasher':
|
||||
// this.interval_remove('factory_mode');
|
||||
PortHandler.flush_callbacks();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue