Browse Source

AntennaTracker: To add a judgment of 0 degrees longitude.

master
murata 8 years ago committed by Tom Pittenger
parent
commit
467da77c77
  1. 2
      AntennaTracker/sensors.cpp

2
AntennaTracker/sensors.cpp

@ -108,7 +108,7 @@ void Tracker::update_GPS(void) @@ -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 {

Loading…
Cancel
Save