mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
Tools: Replay: move automatic declination setting into AP_Compass itself
This commit is contained in:
parent
03e6065380
commit
92dde5b111
@ -644,7 +644,6 @@ void Replay::read_sensors(const char *type)
|
||||
if (!_vehicle.ahrs.set_home(loc)) {
|
||||
::printf("Failed to set home to that location!");
|
||||
}
|
||||
_vehicle.compass.set_initial_location(loc.lat, loc.lng);
|
||||
done_home_init = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user