diff --git a/libraries/AP_Compass/AP_Compass_Backend.h b/libraries/AP_Compass/AP_Compass_Backend.h index 863cc331ab..22a6b24881 100644 --- a/libraries/AP_Compass/AP_Compass_Backend.h +++ b/libraries/AP_Compass/AP_Compass_Backend.h @@ -22,7 +22,7 @@ #include "AP_Compass.h" #ifndef HAL_MSP_COMPASS_ENABLED -#define HAL_MSP_COMPASS_ENABLED HAL_MSP_ENABLED && !HAL_MINIMIZE_FEATURES +#define HAL_MSP_COMPASS_ENABLED HAL_MSP_SENSORS_ENABLED #endif class Compass; // forward declaration