From abc74fd78b86ea6626b8de60f632ad7464615231 Mon Sep 17 00:00:00 2001 From: Guillaume Revaillot Date: Wed, 8 Apr 2020 07:48:25 +0200 Subject: [PATCH] stm32g0: fix typos in rcc.h --- include/libopencm3/stm32/g0/rcc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/libopencm3/stm32/g0/rcc.h b/include/libopencm3/stm32/g0/rcc.h index 49fc53b8..77409f7f 100644 --- a/include/libopencm3/stm32/g0/rcc.h +++ b/include/libopencm3/stm32/g0/rcc.h @@ -438,7 +438,6 @@ #define RCC_APBSMENR2_ADCSMEN (1 << 20) #define RCC_APBSMENR2_TIM17SMEN (1 << 18) #define RCC_APBSMENR2_TIM16SMEN (1 << 17) -#define RCC_APBSMENR2_TIM16SMEN (1 << 17) #define RCC_APBSMENR2_TIM15SMEN (1 << 16) #define RCC_APBSMENR2_TIM14SMEN (1 << 15) #define RCC_APBSMENR2_USART1SMEN (1 << 14) @@ -611,7 +610,7 @@ #define RCC_CSR_WWDGRSTF (1 << 30) #define RCC_CSR_IWDGRSTF (1 << 29) #define RCC_CSR_SFTRSTF (1 << 28) -#define RCC_CSR_PWRSTF (1 << 27) +#define RCC_CSR_PWRRSTF (1 << 27) #define RCC_CSR_PINRSTF (1 << 26) #define RCC_CSR_OBLRSTF (1 << 25) #define RCC_CSR_RMVF (1 << 23)