Skip to content

Commit e7f1430

Browse files
committed
remove duplicate LSEDRIVE_CONFIG
1 parent a209d44 commit e7f1430

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

targets/TARGET_STM/TARGET_STM32L5/system_clock.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ uint8_t SetSysClock_PLL_MSI(void)
134134
__HAL_RCC_RTCAPB_CLK_ENABLE();
135135

136136
#if MBED_CONF_TARGET_LSE_AVAILABLE
137-
__HAL_RCC_LSEDRIVE_CONFIG(RCC_LSEDRIVE_LOW);
138137
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSE;
139138
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
140139
RCC_OscInitStruct.LSEState = RCC_LSE_ON; // External 32.768 kHz clock on OSC_IN/OSC_OUT

targets/TARGET_STM/TARGET_STM32WB/TARGET_STM32WB55xx/TARGET_NUCLEO_WB55RG/system_clock.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ void SetSysClock(void)
7272

7373
Config_HSE();
7474

75-
__HAL_RCC_LSEDRIVE_CONFIG(RCC_LSEDRIVE_LOW);
7675
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
7776

7877
/* This prevents the CPU2 (M0+) to disable the HSI48 oscillator */

0 commit comments

Comments
 (0)