From a8bb397eb70fbc28309324aaa44389b4456d7626 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 8 Aug 2023 12:36:32 +1000 Subject: [PATCH] AP_MSP: remove references to HAL_BUILD_AP_PERIPH HAL_MSP_ENABLED is already explicitly off in chibios_hwdef.py for Periph --- libraries/AP_MSP/AP_MSP_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_MSP/AP_MSP_config.h b/libraries/AP_MSP/AP_MSP_config.h index 1f486e07cc..9265def7be 100644 --- a/libraries/AP_MSP/AP_MSP_config.h +++ b/libraries/AP_MSP/AP_MSP_config.h @@ -8,10 +8,10 @@ // define for enabling MSP sensor drivers #ifndef HAL_MSP_SENSORS_ENABLED -#define HAL_MSP_SENSORS_ENABLED HAL_MSP_ENABLED && !defined(HAL_BUILD_AP_PERIPH) +#define HAL_MSP_SENSORS_ENABLED HAL_MSP_ENABLED #endif // define for enabling MSP DisplayPort #ifndef HAL_WITH_MSP_DISPLAYPORT -#define HAL_WITH_MSP_DISPLAYPORT HAL_MSP_ENABLED && !defined(HAL_BUILD_AP_PERIPH) +#define HAL_WITH_MSP_DISPLAYPORT HAL_MSP_ENABLED #endif