|
|
|
@ -2,6 +2,7 @@ function tab_initialize_gps () {
|
|
|
|
|
ga_tracker.sendAppView('GPS Page');
|
|
|
|
|
GUI.active_tab = 'gps';
|
|
|
|
|
|
|
|
|
|
send_message(MSP_codes.MSP_RAW_GPS, MSP_codes.MSP_RAW_GPS, false, function() {
|
|
|
|
|
$('#content').load("./tabs/gps.html", function() {
|
|
|
|
|
// enable data pulling
|
|
|
|
|
GUI.interval_add('gps_pull', function() {
|
|
|
|
@ -14,7 +15,6 @@ function tab_initialize_gps () {
|
|
|
|
|
$('.GPS_info td.distToHome').html(GPS_DATA.distanceToHome + ' m');
|
|
|
|
|
|
|
|
|
|
// Update GPS Signal Strengths
|
|
|
|
|
|
|
|
|
|
var e_ss_table = $('div.GPS_signal_strength table tr:not(.titles)');
|
|
|
|
|
|
|
|
|
|
for (var i = 0; i < GPS_DATA.chn.length; i++) {
|
|
|
|
@ -30,4 +30,5 @@ function tab_initialize_gps () {
|
|
|
|
|
send_message(MSP_codes.MSP_GPSSVINFO, MSP_codes.MSP_GPSSVINFO);
|
|
|
|
|
}, 75, true);
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
}
|