AP_Compass: removed have_ekf_logging()

This commit is contained in:
Andrew Tridgell 2020-11-07 16:58:05 +11:00
parent b0ec4f8b93
commit 353ec29ab6

View File

@ -1527,7 +1527,7 @@ Compass::read(void)
}
#endif
#ifndef HAL_NO_LOGGING
if (any_healthy && _log_bit != (uint32_t)-1 && AP::logger().should_log(_log_bit) && !AP::ahrs().have_ekf_logging()) {
if (any_healthy && _log_bit != (uint32_t)-1 && AP::logger().should_log(_log_bit)) {
AP::logger().Write_Compass();
}
#endif