mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 09:53:30 +08:00
Update drv_wdt.c
This commit is contained in:
parent
11e3bc7956
commit
e641798633
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user