This is an automated email from the ASF dual-hosted git repository. aguettouche pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 451a2551464bd98703133faa53c5475794654baf Author: raiden00pl <[email protected]> AuthorDate: Tue Aug 11 07:47:41 2020 +0200 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 77ce227..20adbb6 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(); } /************************************************************************************
