Prevent G Meter from resetting on webpage changes.

pull/610/head
Eric Westphal 2017-05-17 18:27:45 -04:00
rodzic 8aeb5d285b
commit a4a7ea1912
1 zmienionych plików z 0 dodań i 3 usunięć

Wyświetl plik

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