From 57b43e968967ce5a9de77518b6a020564ccf8279 Mon Sep 17 00:00:00 2001 From: pvvx Date: Thu, 2 Mar 2017 21:22:29 +0300 Subject: [PATCH] update --- project/src/user/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/user/main.c b/project/src/user/main.c index b7d507a..58551d3 100644 --- a/project/src/user/main.c +++ b/project/src/user/main.c @@ -80,7 +80,7 @@ void main(void) #ifdef CONFIG_WDG_ON_IDLE HAL_PERI_ON_WRITE32(REG_SOC_FUNC_EN, HAL_PERI_ON_READ32(REG_SOC_FUNC_EN) & 0x1FFFFF); - WDGInitial(10000); // 10 s + WDGInitial(CONFIG_WDG_ON_IDLE * 1000); // 10 s WDGStart(); #endif