STM32 IO compensation cell is enabled after clocking to SYSCFG is enabled.

This commit is contained in:
Fotis Panagiotopoulos 2020-08-09 17:47:39 +03:00 committed by Abdelatif Guettouche
parent 32e98790c0
commit d4c770c20d

View File

@ -207,15 +207,15 @@ void stm32_clockconfig(void)
#endif
/* Enable peripheral clocking */
rcc_enableperipherals();
#ifdef CONFIG_STM32_SYSCFG_IOCOMPENSATION
/* Enable I/O Compensation */
stm32_iocompensation();
#endif
/* Enable peripheral clocking */
rcc_enableperipherals();
}
/****************************************************************************