From 05028698fd855aba041322a47778098ee2c2397b Mon Sep 17 00:00:00 2001 From: Bohdan Kmit Date: Mon, 5 Feb 2024 11:31:02 +0200 Subject: [PATCH] Fix premature reboot when displaying a message without waiting for user input --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 23cbb67..696ba7d 100644 --- a/main.c +++ b/main.c @@ -3108,7 +3108,7 @@ int main(void) #ifdef __WATCHDOG__ static const WDGConfig scan_wdgcfg = { STM32_IWDG_PR_256, - STM32_IWDG_RL(1 * (40000 / 256)), /* 1 second */ + STM32_IWDG_RL(3 * 40000 / 256), /* 3 seconds */ STM32_IWDG_WIN_DISABLED }; wdgInit();