ArduSub: 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 626d64f503
commit 62f1d40d3b
1 changed files with 2 additions and 0 deletions

View File

@ -322,7 +322,9 @@ void Sub::update_altitude()
#if HAL_LOGGING_ENABLED
if (should_log(MASK_LOG_CTUN)) {
Log_Write_Control_Tuning();
#if AP_INERTIALSENSOR_HARMONICNOTCH_ENABLED
AP::ins().write_notch_log_messages();
#endif
#if HAL_GYROFFT_ENABLED
gyro_fft.write_log_messages();
#endif