mirror of https://github.com/ArduPilot/ardupilot
Tracker: don't disable compass on one bad reading
the compass can go back for a short time and recover found by Michael
This commit is contained in:
parent
49cb245ea6
commit
958a665334
|
@ -41,8 +41,6 @@ void Tracker::update_compass(void)
|
|||
if (should_log(MASK_LOG_COMPASS)) {
|
||||
DataFlash.Log_Write_Compass(compass);
|
||||
}
|
||||
} else {
|
||||
ahrs.set_compass(nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue