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

SAMD Support Initial Patches

This commit is contained in:
pmantoine
2022-05-17 18:06:08 +08:00
parent f8a19de9fb
commit 6135272c32
11 changed files with 220 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
/*
* © 2022 Paul M Antoine
* © 2021 Neil McKechnie
* © 2021 Mike S
* © 2021 Herb Morton
@@ -881,7 +882,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
#if defined(ARDUINO_ARCH_ESP)
ESP.restart();
#endif
#endif
break; // and <X> if we didnt restart
}