mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
stm32f33xxx_rcc: fix CAN clock enable
This commit is contained in:
@@ -237,7 +237,7 @@ static inline void rcc_enableapb1(void)
|
||||
#ifdef CONFIG_STM32_CAN1
|
||||
/* CAN1 clock enable */
|
||||
|
||||
regval |= RCC_APB1ENR_CAN1EN;
|
||||
regval |= RCC_APB1ENR_CANEN;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_STM32_DAC2
|
||||
|
||||
Reference in New Issue
Block a user