1
0
Fork 0
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:
cTn 2014-01-03 10:40:15 +01:00
parent 07e72f230c
commit 64038b64a0
2 changed files with 7 additions and 0 deletions

View file

@ -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':

View file

@ -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) {