mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
AntennaTracker: initial position was not being set on normal startup
This commit is contained in:
parent
6648170102
commit
2e3989f78d
@ -190,8 +190,6 @@ static void set_home_eeprom(struct Location temp)
|
|||||||
|
|
||||||
static void set_home(struct Location temp)
|
static void set_home(struct Location temp)
|
||||||
{
|
{
|
||||||
if (g.compass_enabled)
|
|
||||||
compass.set_initial_location(temp.lat, temp.lng);
|
|
||||||
set_home_eeprom(temp);
|
set_home_eeprom(temp);
|
||||||
current_loc = temp;
|
current_loc = temp;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user