From b0ec4f8b9302c051d05f963cf13c0186be275dd2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 7 Nov 2020 16:58:05 +1100 Subject: [PATCH] AP_Baro: removed have_ekf_logging() --- libraries/AP_Baro/AP_Baro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Baro/AP_Baro.cpp b/libraries/AP_Baro/AP_Baro.cpp index d89aaa7601..42ece52bd0 100644 --- a/libraries/AP_Baro/AP_Baro.cpp +++ b/libraries/AP_Baro/AP_Baro.cpp @@ -866,7 +866,7 @@ void AP_Baro::update(void) // logging #ifndef HAL_NO_LOGGING - if (should_log() && !AP::ahrs().have_ekf_logging()) { + if (should_log()) { AP::logger().Write_Baro(); } #endif