stm32f33xxx_rcc: fix CAN clock enable

This commit is contained in:
raiden00pl 2017-11-22 09:26:07 +01:00
parent a645b18860
commit 83699beb10

View File

@ -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