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:
parent
f7d21d5d39
commit
3e2672b13f
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue