diff --git a/libraries/AP_MSP/msp.h b/libraries/AP_MSP/msp.h index b2cf93cb9a..ebe66148f6 100644 --- a/libraries/AP_MSP/msp.h +++ b/libraries/AP_MSP/msp.h @@ -8,12 +8,12 @@ // define for enabling MSP sensor drivers #ifndef HAL_MSP_SENSORS_ENABLED -#define HAL_MSP_SENSORS_ENABLED defined(HAL_MSP_ENABLED) && !HAL_MINIMIZE_FEATURES && !defined(HAL_BUILD_AP_PERIPH) +#define HAL_MSP_SENSORS_ENABLED HAL_MSP_ENABLED && !HAL_MINIMIZE_FEATURES && !defined(HAL_BUILD_AP_PERIPH) #endif // define for enabling MSP DisplayPort #ifndef HAL_WITH_MSP_DISPLAYPORT -#define HAL_WITH_MSP_DISPLAYPORT defined(HAL_MSP_ENABLED) && !HAL_MINIMIZE_FEATURES && !defined(HAL_BUILD_AP_PERIPH) +#define HAL_WITH_MSP_DISPLAYPORT HAL_MSP_ENABLED && !HAL_MINIMIZE_FEATURES && !defined(HAL_BUILD_AP_PERIPH) #endif #include