mirror of
https://github.com/apache/nuttx.git
synced 2026-08-05 06:10:27 +00:00
libuavcan: Forgot to change define
This commit is contained in:
parent
e57a6d14c3
commit
5cc2fba418
2 changed files with 3 additions and 3 deletions
|
|
@ -86,7 +86,7 @@ void stm32_boardinitialize(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CANUTILS_UAVCAN
|
||||
#ifdef CONFIG_CANUTILS_LIBUAVCAN
|
||||
(void)stm32_configgpio(GPIO_CAN1_RX);
|
||||
(void)stm32_configgpio(GPIO_CAN1_TX);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -104,10 +104,10 @@ void stm32_boardinitialize(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CANUTILS_UAVCAN
|
||||
#ifdef CONFIG_CANUTILS_LIBUAVCAN
|
||||
(void)stm32_configgpio(GPIO_CAN1_RX);
|
||||
(void)stm32_configgpio(GPIO_CAN1_TX);
|
||||
# if CONFIG_UAVCAN_STM32_NUM_IFACES > 1
|
||||
# if CONFIG_LIBUAVCAN_STM32_NUM_IFACES > 1
|
||||
(void)stm32_configgpio(GPIO_CAN2_RX);
|
||||
(void)stm32_configgpio(GPIO_CAN2_TX);
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue