1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-07-28 09:53:45 +02:00

Some useful code plug debug goo

This commit is contained in:
pmantoine
2022-04-05 09:24:29 +08:00
parent b847419a55
commit 5dfc014f49
9 changed files with 138 additions and 38 deletions

View File

@@ -781,7 +781,9 @@ bool DCCEXParser::parseD(Print *stream, int16_t params, int16_t p[])
wdt_enable( WDTO_15MS); // set Arduino watchdog timer for 15ms
delay(50); // wait for the prescaller time to expire
#else
#ifdef ARDUINO_ARCH_ESP
ESP.restart();
#endif
#endif
break; // and <X> if we didnt restart
}