Rover: removed compass learn_offsets()

This commit is contained in:
Andrew Tridgell 2018-01-07 08:14:34 +11:00
parent a26d19b57c
commit 65308f9411

View File

@ -239,7 +239,6 @@ void Rover::update_compass(void)
if (g.compass_enabled && compass.read()) {
ahrs.set_compass(&compass);
// update offsets
compass.learn_offsets();
if (should_log(MASK_LOG_COMPASS)) {
DataFlash.Log_Write_Compass(compass);
}