mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 17:18:28 -04:00
AP_MSP: fixed build without MSP
found by custom.ardupilot.org
This commit is contained in:
parent
617024bdfa
commit
1655beeca9
@ -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 <AP_HAL/UARTDriver.h>
|
||||
|
Loading…
Reference in New Issue
Block a user