1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-27 01:56:14 +01:00

Fix ESP32 define

This commit is contained in:
pmantoine 2022-05-17 20:04:19 +08:00
parent 6135272c32
commit dd58e2c462

View File

@ -882,7 +882,7 @@ 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)
#if defined(ARDUINO_ARCH_ESP32)
ESP.restart();
#endif
#endif