Rover: removed compass learn_offsets()
This commit is contained in:
parent
a26d19b57c
commit
65308f9411
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user