commit | ddf3f2d73559cba2def27f026d998456800722a2 | [log] [tgz] |
---|---|---|
author | Thomas Stranger <thomas.stranger@outlook.com> | Tue Jun 28 21:50:20 2022 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Jul 04 16:41:24 2022 +0200 |
tree | fec541c0fcab2e5637648e5f2cb32a2bf07e9c83 | |
parent | 15430252bf34ae8efac806159e44234d27d1330f [diff] |
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: Thomas Stranger <thomas.stranger@outlook.com>