kopia lustrzana https://github.com/cyoung/stratux
Prevent G Meter from resetting on webpage changes.
rodzic
8aeb5d285b
commit
a4a7ea1912
|
@ -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 {
|
||||
|
|
Ładowanie…
Reference in New Issue