From a4a7ea19122c3592250b5f9b730d36ff204be805 Mon Sep 17 00:00:00 2001 From: Eric Westphal Date: Wed, 17 May 2017 18:27:45 -0400 Subject: [PATCH] Prevent G Meter from resetting on webpage changes. --- web/plates/js/gps.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/web/plates/js/gps.js b/web/plates/js/gps.js index d68e811f..5a8a19a4 100644 --- a/web/plates/js/gps.js +++ b/web/plates/js/gps.js @@ -203,9 +203,6 @@ function GPSCtrl($rootScope, $scope, $state, $http, $interval) { statusGPS.classList.remove("on"); } if (situation.AHRSStatus & 0x02) { - if (statusIMU.classList.contains("off")) { - setTimeout($scope.GMeterReset, 1000); - } statusIMU.classList.remove("off"); statusIMU.classList.add("on"); } else {