mirror of https://github.com/ArduPilot/ardupilot
Tracker: removed compass learn_offsets()
This commit is contained in:
parent
65308f9411
commit
b702dd5342
|
@ -37,7 +37,6 @@ void Tracker::update_compass(void)
|
|||
{
|
||||
if (g.compass_enabled && compass.read()) {
|
||||
ahrs.set_compass(&compass);
|
||||
compass.learn_offsets();
|
||||
if (should_log(MASK_LOG_COMPASS)) {
|
||||
DataFlash.Log_Write_Compass(compass);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue