cpu/stm32gx: remove useless LSE clock initialization

This commit is contained in:
Alexandre Abadie 2020-08-29 19:44:40 +02:00
parent d78a316139
commit a96ca57f66
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -186,10 +186,6 @@ void stmclk_init_sysclk(void)
/* disable all active clocks except HSI -> resets the clk configuration */
RCC->CR = RCC_CR_HSION;
#if CLOCK_LSE
stmclk_enable_lfclk();
#endif
#if defined(CPU_FAM_STM32G0)
if (CONFIG_USE_CLOCK_HSI && CONFIG_CLOCK_HSISYS_DIV != 1) {
/* configure HSISYS divider, only available on G0 */