From a96ca57f6696c43ca6142ca7d56a83b414a30a3b Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sat, 29 Aug 2020 19:44:40 +0200 Subject: [PATCH] cpu/stm32gx: remove useless LSE clock initialization --- cpu/stm32/stmclk/stmclk_gx.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cpu/stm32/stmclk/stmclk_gx.c b/cpu/stm32/stmclk/stmclk_gx.c index 9d940fb995..2ea7ab8a45 100644 --- a/cpu/stm32/stmclk/stmclk_gx.c +++ b/cpu/stm32/stmclk/stmclk_gx.c @@ -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 */