mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
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>
|
#include <AP_HAL/AP_HAL_Boards.h>
|
||||||
|
|
||||||
#ifndef HAL_MSP_ENABLED
|
#ifndef HAL_MSP_ENABLED
|
||||||
#define HAL_MSP_ENABLED !HAL_MINIMIZE_FEATURES
|
#define HAL_MSP_ENABLED 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// define for enabling MSP sensor drivers
|
// define for enabling MSP sensor drivers
|
||||||
#ifndef HAL_MSP_SENSORS_ENABLED
|
#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
|
#endif
|
||||||
|
|
||||||
// define for enabling MSP DisplayPort
|
// define for enabling MSP DisplayPort
|
||||||
#ifndef HAL_WITH_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
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user