change wdt to 60 seconds
This commit is contained in:
parent
20bdbecfce
commit
5196c032da
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -98,7 +98,7 @@ for minute in range(0, 59):
|
||||||
set_time(0, 0)
|
set_time(0, 0)
|
||||||
|
|
||||||
# Configure Watchdog
|
# Configure Watchdog
|
||||||
wdt = WDT(timeout=5000)
|
wdt = WDT(timeout=60000)
|
||||||
|
|
||||||
if not check_wifi_connection():
|
if not check_wifi_connection():
|
||||||
machine.reset()
|
machine.reset()
|
||||||
|
|
Loading…
Reference in a new issue