|
|
@ -237,8 +237,6 @@ void Plane::update_compass(void) |
|
|
|
if (should_log(MASK_LOG_COMPASS) && !ahrs.have_ekf_logging()) { |
|
|
|
if (should_log(MASK_LOG_COMPASS) && !ahrs.have_ekf_logging()) { |
|
|
|
DataFlash.Log_Write_Compass(compass); |
|
|
|
DataFlash.Log_Write_Compass(compass); |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
|
|
|
|
ahrs.set_compass(nullptr); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|