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:
Andrew Tridgell 2017-11-28 09:01:54 +11:00
parent 49cb245ea6
commit 958a665334
1 changed files with 0 additions and 2 deletions

View File

@ -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);
}
}