Skip to content

Commit 3e2672b

Browse files
erwangonashif
authored andcommitted
drivers/clock_control: stm32: STM32WB: No HSE by-pass
HSE by-pass capability is not available on STM32WB. Signed-off-by: Erwan Gouriou <[email protected]>
1 parent f7d21d5 commit 3e2672b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clock_control/clock_stm32_ll_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ int stm32_clock_control_init(const struct device *dev)
558558
if (IS_ENABLED(STM32_HSE_TCXO)) {
559559
LL_RCC_HSE_EnableTcxo();
560560
}
561-
#else
561+
#elif !defined(CONFIG_SOC_SERIES_STM32WBX)
562562
/* Check if need to enable HSE bypass feature or not */
563563
if (IS_ENABLED(STM32_HSE_BYPASS)) {
564564
LL_RCC_HSE_EnableBypass();

0 commit comments

Comments
 (0)