mirror of https://github.com/ArduPilot/ardupilot
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:
parent
fb0ebf75ca
commit
a8bb397eb7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue