Rover: 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 958a665334
commit 01c4e51d08

View File

@ -240,8 +240,6 @@ void Rover::update_compass(void)
if (should_log(MASK_LOG_COMPASS)) {
DataFlash.Log_Write_Compass(compass);
}
} else {
ahrs.set_compass(nullptr);
}
}