Skip to content
Snippets Groups Projects
Commit b36d125e authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Merged in paulpatience/nuttx/libuavcan (pull request #31)

libuavcan: Forgot to change define
parents 001715d5 5cc2fba4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment