From ecbfc1172ac04f4b3e239cfbbc8e4975e8193edf Mon Sep 17 00:00:00 2001 From: Nick Ward Date: Fri, 10 Sep 2021 21:26:46 +1000 Subject: [PATCH] drivers: watchdog: fix missing stm32 LOG_LEVEL macro Without this a user can't enable logging for the STM32 wdt driver. Signed-off-by: Nick Ward --- drivers/watchdog/wdt_wwdg_stm32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/wdt_wwdg_stm32.c b/drivers/watchdog/wdt_wwdg_stm32.c index c72dfa4bd5f..c88fef25a0d 100644 --- a/drivers/watchdog/wdt_wwdg_stm32.c +++ b/drivers/watchdog/wdt_wwdg_stm32.c @@ -18,6 +18,7 @@ #include "wdt_wwdg_stm32.h" +#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL #include LOG_MODULE_REGISTER(wdt_wwdg_stm32);