Blimp: allow HarmonicNotches to be compiled out of the code

This commit is contained in:
Peter Barker 2024-02-13 11:26:08 +11:00 committed by Andrew Tridgell
parent 62f1d40d3b
commit c15336a127
1 changed files with 2 additions and 0 deletions

View File

@ -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