mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 08:07:35 +08:00
Fix -Wundef warning by defining UAVCAN_STM32_BAREMETAL to 0 if it is not defined
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
# define UAVCAN_STM32_NUTTX 0
|
||||
#endif
|
||||
|
||||
#ifndef UAVCAN_STM32_BAREMETAL
|
||||
# define UAVCAN_STM32_BAREMETAL 0
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Number of interfaces must be enabled explicitly
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user