drivers/clock_control: stm32: STM32WB: No HSE by-pass

HSE by-pass capability is not available on STM32WB.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2021-08-24 10:00:22 +02:00 committed by Anas Nashif
commit 3e2672b13f

View file

@ -558,7 +558,7 @@ int stm32_clock_control_init(const struct device *dev)
if (IS_ENABLED(STM32_HSE_TCXO)) { if (IS_ENABLED(STM32_HSE_TCXO)) {
LL_RCC_HSE_EnableTcxo(); LL_RCC_HSE_EnableTcxo();
} }
#else #elif !defined(CONFIG_SOC_SERIES_STM32WBX)
/* Check if need to enable HSE bypass feature or not */ /* Check if need to enable HSE bypass feature or not */
if (IS_ENABLED(STM32_HSE_BYPASS)) { if (IS_ENABLED(STM32_HSE_BYPASS)) {
LL_RCC_HSE_EnableBypass(); LL_RCC_HSE_EnableBypass();