Clear up some configuration naming that was inconsistent accross STM32 chips
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4401 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
22ffe347bc
commit
4e6dd10a94
@ -280,7 +280,7 @@ static inline void rcc_enableapb1(void)
|
||||
regval |= RCC_APB1ENR_USBEN;
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_STM32_CAN) || defined (CONFIG_STM32_CAN1)
|
||||
#ifdef CONFIG_STM32_CAN1
|
||||
/* CAN1 clock enable */
|
||||
|
||||
regval |= RCC_APB1ENR_CAN1EN;
|
||||
|
Loading…
Reference in New Issue
Block a user