From 06fc9a74b622ed6dc6e749367039a8201845b850 Mon Sep 17 00:00:00 2001 From: AvSquirrel Date: Sat, 7 May 2016 06:44:18 +0000 Subject: [PATCH] Suppress '-999' value for invalid elev/az in GPS UI --- web/plates/gps.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/plates/gps.html b/web/plates/gps.html index 271777b9..ad3a267e 100755 --- a/web/plates/gps.html +++ b/web/plates/gps.html @@ -73,8 +73,8 @@
{{satellite.SatelliteID}} {{satellite.SatelliteNMEA}} - {{satellite.Elevation}} - {{satellite.Azimuth}} + {{satellite.Elevation < -5 ? "---" : satellite.Elevation}} + {{satellite.Azimuth < 0 ? "---" : satellite.Azimuth}} {{satellite.Signal < 1 ? "---" : satellite.Signal}}