mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 10:23:33 +08:00
Clear up some configuration naming that was inconsistent accross STM32 chips
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4401 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user