mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -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
|
#pragma once
|
||||||
|
|
||||||
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
#ifndef HAL_MSP_ENABLED
|
#ifndef HAL_MSP_ENABLED
|
||||||
#define HAL_MSP_ENABLED !HAL_MINIMIZE_FEATURES
|
#define HAL_MSP_ENABLED !HAL_MINIMIZE_FEATURES
|
||||||
#endif
|
#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_HAL/UARTDriver.h>
|
||||||
#include <AP_SerialManager/AP_SerialManager.h>
|
#include <AP_SerialManager/AP_SerialManager.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user