Skip to content

Commit d98ff1c

Browse files
committed
chore(wl3): manage HSI
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 8164b92 commit d98ff1c

File tree

1 file changed

+1
-1
lines changed
  • libraries/SrcWrapper/src/stm32

1 file changed

+1
-1
lines changed

libraries/SrcWrapper/src/stm32/clock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ void enableClock(sourceClock_t source)
130130
if (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) {
131131
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
132132
RCC_OscInitStruct.HSIState = RCC_HSI_ON;
133-
#if !defined(STM32WB0x)
133+
#if !defined(STM32WB0x) && !defined(STM32WL3x)
134134
#if defined(STM32MP1xx)
135135
RCC_OscInitStruct.HSICalibrationValue = 0x00;
136136
#else

0 commit comments

Comments
 (0)