From 2bc754e5818f2c15fd850d971c12cd5f3aaadfdb Mon Sep 17 00:00:00 2001 From: Ali Hozhabri Date: Mon, 22 Dec 2025 11:33:04 +0100 Subject: [PATCH] drivers: timer: Fix a typo in the STM32WB07 radio timer Replace one extra CONFIG_SOC_STM32WB06XX with the CONFIG_SOC_STM32WB07XX. Signed-off-by: Ali Hozhabri --- drivers/timer/stm32wb0_radio_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/timer/stm32wb0_radio_timer.c b/drivers/timer/stm32wb0_radio_timer.c index 1672c5e3e6b..702a029912b 100644 --- a/drivers/timer/stm32wb0_radio_timer.c +++ b/drivers/timer/stm32wb0_radio_timer.c @@ -32,7 +32,7 @@ LOG_MODULE_REGISTER(radio_timer_driver); BUILD_ASSERT(DT_NODE_HAS_STATUS(DT_NODELABEL(clk_lsi), disabled), "LSI is not supported yet"); -#if (defined(CONFIG_SOC_STM32WB06XX) || defined(CONFIG_SOC_STM32WB06XX)) && defined(CONFIG_PM) +#if (defined(CONFIG_SOC_STM32WB06XX) || defined(CONFIG_SOC_STM32WB07XX)) && defined(CONFIG_PM) #error "PM is not supported yet for WB06/WB07" #endif /* (CONFIG_SOC_STM32WB06XX || CONFIG_SOC_STM32WB06XX) && CONFIG_PM */