arch/arm/src/stm32f7: IO compensation cell is enabled after clocking to SYSCFG is enabled

This commit is contained in:
raiden00pl 2020-08-11 07:47:41 +02:00 committed by Abdelatif Guettouche
parent 3d91fed868
commit 451a255146

View File

@ -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();
}
/************************************************************************************