drivers: clock_control: clock_control_ra.c: main oscillator select fix
Due to a typo it is not possible to select the main oscillator (MOSC) as a clock source for an RA Microcontroller. This patch resolves the issue. Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
This commit is contained in:
parent
efc3208189
commit
18c4574786
|
@ -16,7 +16,7 @@
|
|||
#if DT_SAME_NODE(DT_INST_PROP(0, clock_source), DT_PATH(clocks, pll))
|
||||
#define SYSCLK_SRC pll
|
||||
#elif DT_SAME_NODE(DT_INST_PROP(0, clock_source), DT_PATH(clocks, mosc))
|
||||
#define SYSCLK_SRC moco
|
||||
#define SYSCLK_SRC mosc
|
||||
#elif DT_SAME_NODE(DT_INST_PROP(0, clock_source), DT_PATH(clocks, sosc))
|
||||
#define SYSCLK_SRC soco
|
||||
#elif DT_SAME_NODE(DT_INST_PROP(0, clock_source), DT_PATH(clocks, hoco))
|
||||
|
|
Loading…
Reference in a new issue