Plane: fixed build (remove learn_offsets call)

This commit is contained in:
Andrew Tridgell 2018-01-06 15:29:23 +11:00
parent ac4017e2ae
commit d1e11a5bde
1 changed files with 0 additions and 1 deletions

View File

@ -233,7 +233,6 @@ void Plane::update_compass(void)
{
if (g.compass_enabled && compass.read()) {
ahrs.set_compass(&compass);
compass.learn_offsets();
if (should_log(MASK_LOG_COMPASS) && !ahrs.have_ekf_logging()) {
DataFlash.Log_Write_Compass(compass);
}