AP_RPM: allow HarmonicNotches to be compiled out of the code

This commit is contained in:
Peter Barker 2024-02-13 11:26:07 +11:00 committed by Andrew Tridgell
parent 6de3cce480
commit ffb1fe0a1a

View File

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