Skip to content
Commit ddf3f2d7 authored by Thomas Stranger's avatar Thomas Stranger Committed by Carles Cufí
Browse files

drivers/clock_control: stm32 common allow pll also when it is not sysclk



The SOC specific implementations of the clock_stm32_ll_common driver
included the PLL specific functions only when PLL was selected as sysclock.

This commit changes the condition from "STM32_SYSCLK_SRC_PLL"
to "defined(STM32_PLL_ENABLED)".
As a result the pll could also be used as peripheral clock source
in case it is not the sysclock.

Signed-off-by: default avatarThomas Stranger <thomas.stranger@outlook.com>
parent 15430252
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment