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.
This commit is contained in:
Joel Sherrill
2025-08-01 15:51:58 -05:00
committed by Gedare Bloom
parent 347fe98fe4
commit 2f0abe10e3

View File

@@ -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 )