diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-18 14:22:00 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-18 14:22:00 +0000 |
commit | 376af5201c555ee163045a8103d8e592f9a1b1bc (patch) | |
tree | 2a90511ab98a6e585bf73835290b81befc419350 /nuttx/arch/arm | |
parent | 10fa68d97d18d9e51b11e1406385aec1c15cf2b1 (diff) | |
download | px4-nuttx-376af5201c555ee163045a8103d8e592f9a1b1bc.tar.gz px4-nuttx-376af5201c555ee163045a8103d8e592f9a1b1bc.tar.bz2 px4-nuttx-376af5201c555ee163045a8103d8e592f9a1b1bc.zip |
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
Diffstat (limited to 'nuttx/arch/arm')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32f10xxx_rcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32f10xxx_rcc.c b/nuttx/arch/arm/src/stm32/stm32f10xxx_rcc.c index 9b87def75..cacc8f889 100644 --- a/nuttx/arch/arm/src/stm32/stm32f10xxx_rcc.c +++ b/nuttx/arch/arm/src/stm32/stm32f10xxx_rcc.c @@ -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; |