1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 21:35:44 +03:00

Cycle Time value is now visible in status bar

This commit is contained in:
cTn 2013-06-13 13:11:53 +02:00
parent f42a1fd708
commit 652f560e42
11 changed files with 45 additions and 16 deletions

View file

@ -7,6 +7,17 @@ if (navigator.appVersion.indexOf("Linux") != -1) OS = "Linux";
var timers = new Array();
function disable_timers() {
for (var i = 0; i < timers.length; i++) {
clearInterval(timers[i]);
}
// kill all the refferences
timers = [];
return true;
}
$(document).ready(function() {
var tabs = $('#tabs > ul');
$('a', tabs).click(function() {
@ -46,22 +57,11 @@ $(document).ready(function() {
} else if ($(this).parent().hasClass('tab_cli')) {
$('#content').load("./tabs/cli.html", tab_initialize_cli);
} else if ($(this).parent().hasClass('tab_about')) {
$('#content').load("./tabs/about.html");
$('#content').load("./tabs/about.html", tab_initialize_about);
}
}
});
// temporary
//$('#content').load("./tabs/gps.html", tab_initialize_gps);
});
function disable_timers() {
for (var i = 0; i < timers.length; i++) {
clearInterval(timers[i]);
}
// kill all the refferences
timers = [];
return true;
}
});