From 467da77c77717eb80443c913b3de1acf4a90e0d9 Mon Sep 17 00:00:00 2001 From: murata Date: Tue, 4 Oct 2016 20:27:46 +0900 Subject: [PATCH] AntennaTracker: To add a judgment of 0 degrees longitude. --- AntennaTracker/sensors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AntennaTracker/sensors.cpp b/AntennaTracker/sensors.cpp index c4b3997aec..889a44e780 100644 --- a/AntennaTracker/sensors.cpp +++ b/AntennaTracker/sensors.cpp @@ -108,7 +108,7 @@ void Tracker::update_GPS(void) // We countdown N number of good GPS fixes // so that the altitude is more accurate // ------------------------------------- - if (current_loc.lat == 0) { + if (current_loc.lat == 0 && current_loc.lng == 0) { ground_start_count = 5; } else {