未验证 提交 12a07fb6 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #2592 from ylz0923/patch-3

Update drv_wdt.c
......@@ -25,7 +25,7 @@ static rt_err_t wdt_init(rt_watchdog_t *wdt)
hiwdg.Instance = IWDG;
hiwdg.Init.Prescaler = IWDG_PRESCALER_32;
hiwdg.Init.Reload = 0x00000FFE;
hiwdg.Init.Reload = 0x00000FFF;
#if defined(SOC_SERIES_STM32F0) || defined(SOC_SERIES_STM32L4) || defined(SOC_SERIES_STM32F7)
hiwdg.Init.Window = 0x00000FFF;
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册