diff --git a/arch/arm/src/stm32f7/stm32_rcc.c b/arch/arm/src/stm32f7/stm32_rcc.c index 77ce227548..20adbb6c56 100644 --- a/arch/arm/src/stm32f7/stm32_rcc.c +++ b/arch/arm/src/stm32f7/stm32_rcc.c @@ -138,15 +138,15 @@ void stm32_clockconfig(void) #endif + /* Enable peripheral clocking */ + + rcc_enableperipherals(); + #ifdef CONFIG_STM32F7_SYSCFG_IOCOMPENSATION /* Enable I/O Compensation */ stm32_iocompensation(); #endif - - /* Enable peripheral clocking */ - - rcc_enableperipherals(); } /************************************************************************************