diff --git a/DCCEXParser.cpp b/DCCEXParser.cpp index 92511aa..7191b47 100644 --- a/DCCEXParser.cpp +++ b/DCCEXParser.cpp @@ -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