mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 17:27:35 +08:00
Set nunmber of UAVCAN interfaces on HW from top level cmake file
This commit is contained in:
@@ -41,7 +41,7 @@ add_definitions(
|
||||
-DUAVCAN_NO_ASSERTIONS
|
||||
-DUAVCAN_PLATFORM=stm32
|
||||
-DUAVCAN_STM32_${OS_UPPER}=1
|
||||
-DUAVCAN_STM32_NUM_IFACES=2
|
||||
-DUAVCAN_STM32_NUM_IFACES=${config_uavcan_num_ifaces}
|
||||
-DUAVCAN_STM32_TIMER_NUMBER=5
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user