AP_Baro: fixed build warnings for MSP with AP_Periph
This commit is contained in:
parent
ae2e84b3df
commit
7daf8d3cd4
@ -7,7 +7,7 @@
|
||||
#include <AP_MSP/msp.h>
|
||||
|
||||
#ifndef HAL_MSP_BARO_ENABLED
|
||||
#define HAL_MSP_BARO_ENABLED HAL_MSP_ENABLED && !HAL_MINIMIZE_FEATURES
|
||||
#define HAL_MSP_BARO_ENABLED HAL_MSP_SENSORS_ENABLED
|
||||
#endif
|
||||
|
||||
// maximum number of sensor instances
|
||||
|
Loading…
Reference in New Issue
Block a user