mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-05 15:33:57 -04:00
AP_HAL: fix warning from having undefined HAL_WITH_IO_MCU
In file included from ../../libraries/AP_IOMCU/AP_IOMCU.cpp:8:0: ../../libraries/AP_IOMCU/AP_IOMCU.h:10:5: warning: "HAL_WITH_IO_MCU" is not defined [-Wundef] #if HAL_WITH_IO_MCU ^ ../../libraries/AP_IOMCU/AP_IOMCU.cpp:10:5: warning: "HAL_WITH_IO_MCU" is not defined [-Wundef] #if HAL_WITH_IO_MCU ^ And so on.
This commit is contained in:
parent
5a1c3cf5f4
commit
184b017b33
@ -190,6 +190,10 @@
|
||||
#define HAL_WITH_UAVCAN 0
|
||||
#endif
|
||||
|
||||
#ifndef HAL_WITH_IO_MCU
|
||||
#define HAL_WITH_IO_MCU 0
|
||||
#endif
|
||||
|
||||
// this is used as a general mechanism to make a 'small' build by
|
||||
// dropping little used features. We use this to allow us to keep
|
||||
// FMUv2 going for as long as possible
|
||||
|
Loading…
Reference in New Issue
Block a user