uavcan: use timer 6 by default on stm32f7

This commit is contained in:
Igor Mišić
2022-05-10 12:43:26 -04:00
committed by Daniel Agar
parent de26ffa6e0
commit 8302f076e7
+1 -1
View File
@@ -51,7 +51,7 @@ if(CONFIG_ARCH_CHIP)
endif()
elseif(${CONFIG_ARCH_CHIP} MATCHES "stm32")
set(UAVCAN_DRIVER "stm32")
set(UAVCAN_TIMER 5) # The default timer is TIM5
set(UAVCAN_TIMER 6) # The default timer is TIM6
if (DEFINED config_uavcan_timer_override)
set (UAVCAN_TIMER ${config_uavcan_timer_override})
endif()