mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 12:25:13 +03:00
enable MSP_STATUS update in servos tab
This commit is contained in:
parent
07e72f230c
commit
64038b64a0
2 changed files with 7 additions and 0 deletions
|
@ -189,6 +189,8 @@ GUI_control.prototype.tab_switch_cleanup = function(callback) {
|
||||||
if (callback) callback();
|
if (callback) callback();
|
||||||
break;
|
break;
|
||||||
case 'servos':
|
case 'servos':
|
||||||
|
GUI.interval_remove('servos_data_poll');
|
||||||
|
|
||||||
if (callback) callback();
|
if (callback) callback();
|
||||||
break;
|
break;
|
||||||
case 'gps':
|
case 'gps':
|
||||||
|
|
|
@ -120,6 +120,11 @@ function tab_initialize_servos() {
|
||||||
servos_update(true);
|
servos_update(true);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// enable data pulling
|
||||||
|
GUI.interval_add('servos_data_poll', function() {
|
||||||
|
send_message(MSP_codes.MSP_STATUS, MSP_codes.MSP_STATUS);
|
||||||
|
}, 50);
|
||||||
}
|
}
|
||||||
|
|
||||||
function servos_update(save_to_eeprom) {
|
function servos_update(save_to_eeprom) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue