diff --git a/wled00/src/dependencies/dmx/SparkFunDMX.cpp b/wled00/src/dependencies/dmx/SparkFunDMX.cpp index 33bbc9ae9..61b1d7ef9 100644 --- a/wled00/src/dependencies/dmx/SparkFunDMX.cpp +++ b/wled00/src/dependencies/dmx/SparkFunDMX.cpp @@ -14,7 +14,7 @@ Distributed as-is; no warranty is given. ******************************************************************************/ /* ----- LIBRARIES ----- */ -#ifdef ARDUINO_ARCH_ESP32 +#if defined(ARDUINO_ARCH_ESP32) && !defined(CONFIG_IDF_TARGET_ESP32C3) && !defined(CONFIG_IDF_TARGET_ESP32S2) #include @@ -41,7 +41,7 @@ static int currentChannel = 0; // Some new MCUs (-S2, -C3) don't have HardwareSerial(2) #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 2, 0) #if SOC_UART_NUM < 3 - #error DMX output is not possible on your MCU, as it doesn't have HardwareSerial(2) + #error DMX output is not possible on your MCU, as it does not have HardwareSerial(2) #endif #endif