From 2f0abe10e37398c3284893dff1ce07d2caa3f3e1 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 1 Aug 2025 15:51:58 -0500 Subject: [PATCH] arm/stm32f4/.../stm32f4xxxx_rcc.h: RCC_CFGR_PPRE2 multiply defined RCC_CFGR_PPRE2 was defined three times. Deleted the second and third definitions. The second appeared to be wrong and the third looked to be an alternate way to express the first. --- bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h b/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h index 7dadfbe756..fc9d308f25 100644 --- a/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h +++ b/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h @@ -237,8 +237,6 @@ typedef struct { #define RCC_CFGR_PPRE1_BY_8 BSP_FLD32( 6, 10, 12 ) #define RCC_CFGR_PPRE1_BY_16 BSP_FLD32( 7, 10, 12 ) -#define RCC_CFGR_PPRE2 13 -#define RCC_CFGR_PPRE2 BSP_MSK32( 13, 15 ) #define RCC_CFGR_PPRE2_BY_1 0 #define RCC_CFGR_PPRE2_BY_2 BSP_FLD32( 4, 13, 15 ) #define RCC_CFGR_PPRE2_BY_4 BSP_FLD32( 5, 13, 15 )