mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-14 03:49:53 +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();
|
||||
break;
|
||||
case 'servos':
|
||||
GUI.interval_remove('servos_data_poll');
|
||||
|
||||
if (callback) callback();
|
||||
break;
|
||||
case 'gps':
|
||||
|
|
|
@ -120,6 +120,11 @@ function tab_initialize_servos() {
|
|||
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue