Merge pull request #595 from tekka007/wdtResets

Reset wdt during init
This commit is contained in:
Henrik Ekblad
2016-10-01 19:33:08 +02:00
committed by GitHub

View File

@@ -72,6 +72,8 @@ void _infiniteLoop() {
}
void _begin() {
hwWatchdogReset();
if (preHwInit)
preHwInit();
@@ -169,6 +171,8 @@ void _begin() {
}
debug(PSTR("MCO:BGN:INIT OK,ID=%d,PAR=%d,DIS=%d,REG=%d\n"), _nc.nodeId, _nc.parentNodeId, _nc.distance, _nodeRegistered);
hwWatchdogReset();
}