From 353ec29ab6eb254e3198bc874ca78006f4641ead Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 7 Nov 2020 16:58:05 +1100 Subject: [PATCH] AP_Compass: removed have_ekf_logging() --- libraries/AP_Compass/AP_Compass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Compass/AP_Compass.cpp b/libraries/AP_Compass/AP_Compass.cpp index c8624af320..fa243c214e 100644 --- a/libraries/AP_Compass/AP_Compass.cpp +++ b/libraries/AP_Compass/AP_Compass.cpp @@ -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