mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_MSP: fixed build warnings for MSP with AP_Periph
This commit is contained in:
parent
8c1bc94053
commit
4bfdd973a4
@ -1,9 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
||||
#ifndef HAL_MSP_ENABLED
|
||||
#define HAL_MSP_ENABLED !HAL_MINIMIZE_FEATURES
|
||||
#endif
|
||||
|
||||
// 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)
|
||||
#endif
|
||||
|
||||
#include <AP_HAL/UARTDriver.h>
|
||||
#include <AP_SerialManager/AP_SerialManager.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user