From 15130c9a1f3288ab9f781a96246cab42b2e73e85 Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Wed, 28 Apr 2021 08:36:50 +0200 Subject: [PATCH] include/drivers/clock_control: stm32: Fix typo in LSE definition Fix typo to enjoy expected LSE setting Signed-off-by: Erwan Gouriou --- include/drivers/clock_control/stm32_clock_control.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drivers/clock_control/stm32_clock_control.h b/include/drivers/clock_control/stm32_clock_control.h index 866b94ce321..351632c5f4b 100644 --- a/include/drivers/clock_control/stm32_clock_control.h +++ b/include/drivers/clock_control/stm32_clock_control.h @@ -121,7 +121,7 @@ #endif #if DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(clk_lse), fixed_clock, okay) -#define STM32_LSE_CLOCK DT_PROP(DT_NODELABEL(clk_hse), clock_frequency) +#define STM32_LSE_CLOCK DT_PROP(DT_NODELABEL(clk_lse), clock_frequency) #else #define STM32_LSE_CLOCK CONFIG_CLOCK_STM32_LSE #endif