From dd58e2c462b0b321c9001a247aea889d97fb672d Mon Sep 17 00:00:00 2001 From: pmantoine Date: Tue, 17 May 2022 20:04:19 +0800 Subject: [PATCH] Fix ESP32 define --- DCCEXParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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