AP_MSP: remove references to HAL_BUILD_AP_PERIPH

HAL_MSP_ENABLED is already explicitly off in chibios_hwdef.py for Periph
This commit is contained in:
Peter Barker 2023-08-08 12:36:32 +10:00 committed by Andrew Tridgell
parent fb0ebf75ca
commit a8bb397eb7
1 changed files with 2 additions and 2 deletions

View File

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