Merge pull request #524 from jamez70/gps_accuracy_meter_unit

Added 'm' specifier on unit for gps
pull/523/merge
cyoung 2016-11-16 15:52:21 -05:00 zatwierdzone przez GitHub
commit 54204bab0d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -54,7 +54,7 @@ function StatusCtrl($rootScope, $scope, $state, $http, $interval) {
$scope.GPS_satellites_tracked = status.GPS_satellites_tracked;
$scope.GPS_satellites_seen = status.GPS_satellites_seen;
$scope.GPS_solution = status.GPS_solution;
$scope.GPS_position_accuracy = String(status.GPS_solution ? ", " + status.GPS_position_accuracy.toFixed(1) : "");
$scope.GPS_position_accuracy = String(status.GPS_solution ? ", " + status.GPS_position_accuracy.toFixed(1) + " m" : " ");
$scope.RY835AI_connected = status.RY835AI_connected;
$scope.UAT_METAR_total = status.UAT_METAR_total;
$scope.UAT_TAF_total = status.UAT_TAF_total;