From ffb1fe0a1a426a06bba3cf5516711119b3627f69 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 13 Feb 2024 11:26:07 +1100 Subject: [PATCH] AP_RPM: allow HarmonicNotches to be compiled out of the code --- libraries/AP_RPM/AP_RPM_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_RPM/AP_RPM_config.h b/libraries/AP_RPM/AP_RPM_config.h index bda4d1c8e3..e07aee1b3d 100644 --- a/libraries/AP_RPM/AP_RPM_config.h +++ b/libraries/AP_RPM/AP_RPM_config.h @@ -28,7 +28,7 @@ #endif #ifndef AP_RPM_HARMONICNOTCH_ENABLED -#define AP_RPM_HARMONICNOTCH_ENABLED AP_RPM_BACKEND_DEFAULT_ENABLED && AP_INERTIALSENSOR_ENABLED +#define AP_RPM_HARMONICNOTCH_ENABLED AP_RPM_BACKEND_DEFAULT_ENABLED && AP_INERTIALSENSOR_HARMONICNOTCH_ENABLED #endif #ifndef AP_RPM_PIN_ENABLED