stm32f1: rcc: Fix TIM17/TIM18 enable bits
the RCC_TIM17 and RCC_TIM18 macros used in the "new" style were ok, just the old style raw bit definitions. Reported-by: Karl Hammar <karl@aspodata.se>
This commit is contained in:
parent
98ff5c23aa
commit
2a61740a90
@ -364,8 +364,8 @@
|
||||
@ingroup STM32F1xx_rcc_defines
|
||||
|
||||
@{*/
|
||||
#define RCC_APB2ENR_TIM17EN (1 << 17)
|
||||
#define RCC_APB2ENR_TIM16EN (1 << 16)
|
||||
#define RCC_APB2ENR_TIM17EN (1 << 18)
|
||||
#define RCC_APB2ENR_TIM16EN (1 << 17)
|
||||
#define RCC_APB2ENR_TIM15EN (1 << 16)
|
||||
#define RCC_APB2ENR_ADC3EN (1 << 15) /* (XX) */
|
||||
#define RCC_APB2ENR_USART1EN (1 << 14)
|
||||
|
Loading…
x
Reference in New Issue
Block a user