AntennaTracker: To add a judgment of 0 degrees longitude.

This commit is contained in:
murata 2016-10-04 20:27:46 +09:00 committed by Tom Pittenger
parent 2f18d1de73
commit 467da77c77
1 changed files with 1 additions and 1 deletions

View File

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