From 451a2551464bd98703133faa53c5475794654baf Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Tue, 11 Aug 2020 07:47:41 +0200 Subject: [PATCH] arch/arm/src/stm32f7: IO compensation cell is enabled after clocking to SYSCFG is enabled --- arch/arm/src/stm32f7/stm32_rcc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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(); } /************************************************************************************