From c15336a12715db4a39b69270de27fb693b33e4ba Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 13 Feb 2024 11:26:08 +1100 Subject: [PATCH] Blimp: allow HarmonicNotches to be compiled out of the code --- Blimp/Blimp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Blimp/Blimp.cpp b/Blimp/Blimp.cpp index 05b5c45916..b4e50b2e6e 100644 --- a/Blimp/Blimp.cpp +++ b/Blimp/Blimp.cpp @@ -255,7 +255,9 @@ void Blimp::update_altitude() #if HAL_LOGGING_ENABLED if (should_log(MASK_LOG_CTUN)) { +#if AP_INERTIALSENSOR_HARMONICNOTCH_ENABLED AP::ins().write_notch_log_messages(); +#endif #if HAL_GYROFFT_ENABLED gyro_fft.write_log_messages(); #endif