mirror of https://github.com/ArduPilot/ardupilot
AP_MSP: use minimize.inc for HAL_MSP_ENABLED and dependencies
This commit is contained in:
parent
8e0a879122
commit
3750a632e3
|
@ -3,15 +3,15 @@
|
|||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef HAL_MSP_ENABLED
|
||||
#define HAL_MSP_ENABLED !HAL_MINIMIZE_FEATURES
|
||||
#define HAL_MSP_ENABLED 1
|
||||
#endif
|
||||
|
||||
// define for enabling MSP sensor drivers
|
||||
#ifndef HAL_MSP_SENSORS_ENABLED
|
||||
#define HAL_MSP_SENSORS_ENABLED HAL_MSP_ENABLED && !HAL_MINIMIZE_FEATURES && !defined(HAL_BUILD_AP_PERIPH)
|
||||
#define HAL_MSP_SENSORS_ENABLED HAL_MSP_ENABLED && !defined(HAL_BUILD_AP_PERIPH)
|
||||
#endif
|
||||
|
||||
// define for enabling MSP DisplayPort
|
||||
#ifndef HAL_WITH_MSP_DISPLAYPORT
|
||||
#define HAL_WITH_MSP_DISPLAYPORT HAL_MSP_ENABLED && !HAL_MINIMIZE_FEATURES && !defined(HAL_BUILD_AP_PERIPH)
|
||||
#define HAL_WITH_MSP_DISPLAYPORT HAL_MSP_ENABLED && !defined(HAL_BUILD_AP_PERIPH)
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue