cpu/stm32gx: remove useless LSE clock initialization
This commit is contained in:
parent
d78a316139
commit
a96ca57f66
@ -186,10 +186,6 @@ void stmclk_init_sysclk(void)
|
|||||||
/* disable all active clocks except HSI -> resets the clk configuration */
|
/* disable all active clocks except HSI -> resets the clk configuration */
|
||||||
RCC->CR = RCC_CR_HSION;
|
RCC->CR = RCC_CR_HSION;
|
||||||
|
|
||||||
#if CLOCK_LSE
|
|
||||||
stmclk_enable_lfclk();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(CPU_FAM_STM32G0)
|
#if defined(CPU_FAM_STM32G0)
|
||||||
if (CONFIG_USE_CLOCK_HSI && CONFIG_CLOCK_HSISYS_DIV != 1) {
|
if (CONFIG_USE_CLOCK_HSI && CONFIG_CLOCK_HSISYS_DIV != 1) {
|
||||||
/* configure HSISYS divider, only available on G0 */
|
/* configure HSISYS divider, only available on G0 */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user