mirror of
https://github.com/pvvx/RTL00_AT.git
synced 2024-11-21 17:44:15 +00:00
update
This commit is contained in:
parent
d6ed3abffa
commit
57b43e9689
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ void main(void)
|
||||||
|
|
||||||
#ifdef CONFIG_WDG_ON_IDLE
|
#ifdef CONFIG_WDG_ON_IDLE
|
||||||
HAL_PERI_ON_WRITE32(REG_SOC_FUNC_EN, HAL_PERI_ON_READ32(REG_SOC_FUNC_EN) & 0x1FFFFF);
|
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();
|
WDGStart();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue