mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
servos tab bugfix
This commit is contained in:
parent
2579b7d394
commit
47ef16b575
2 changed files with 111 additions and 109 deletions
1
main.js
1
main.js
|
@ -71,7 +71,6 @@ $(document).ready(function() {
|
|||
break;
|
||||
case 'tab_servos':
|
||||
tab_initialize_servos();
|
||||
$('#content').load("./tabs/servos.html", tab_initialize_servos);
|
||||
break;
|
||||
case 'tab_gps':
|
||||
tab_initialize_gps();
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
|
||||
function tab_initialize_servos() {
|
||||
ga_tracker.sendAppView('Servos');
|
||||
|
||||
$('#content').load("./tabs/servos.html", function() {
|
||||
GUI.active_tab = 'servos';
|
||||
|
||||
var model = $('div.tab-servos strong.model');
|
||||
|
@ -126,6 +128,7 @@ function tab_initialize_servos() {
|
|||
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