mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AntennaTracker: don't use EEPROM home if a startup home is set in parameters
This commit is contained in:
parent
db7c3a9c52
commit
b45819dd97
@ -83,7 +83,9 @@ static void init_tracker()
|
||||
current_loc.lng = g.start_longitude * 1.0e7f;
|
||||
|
||||
// see if EEPROM has a default location as well
|
||||
if (current_loc.lat == 0 && current_loc.lng == 0) {
|
||||
get_home_eeprom(current_loc);
|
||||
}
|
||||
|
||||
gcs_send_text_P(SEVERITY_LOW,PSTR("\nReady to track."));
|
||||
hal.scheduler->delay(1000); // Why????
|
||||
|
Loading…
Reference in New Issue
Block a user