WDR crash initial

This commit is contained in:
Voinea Dragos 2021-06-09 13:59:26 +03:00
parent 8c3d76f85f
commit 1e786c7f55
6 changed files with 38 additions and 11 deletions

View file

@ -1667,6 +1667,9 @@ void setup()
KEEPALIVE_STATE(NOT_BUSY);
#ifdef WATCHDOG
wdt_enable(WDTO_4S);
#ifdef XFLASH_DUMP
WDTCSR |= (1 << WDIE);
#endif //XFLASH_DUMP
#endif //WATCHDOG
}