Skip to content

Commit e808f76

Browse files
committed
fix CI build
make sure SparkFunDMX driver is not compiled on -S2 and -C3
1 parent 4f28bf7 commit e808f76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wled00/src/dependencies/dmx/SparkFunDMX.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Distributed as-is; no warranty is given.
1414
******************************************************************************/
1515

1616
/* ----- LIBRARIES ----- */
17-
#ifdef ARDUINO_ARCH_ESP32
17+
#if defined(ARDUINO_ARCH_ESP32) && !defined(CONFIG_IDF_TARGET_ESP32C3) && !defined(CONFIG_IDF_TARGET_ESP32S2)
1818

1919
#include <Arduino.h>
2020

@@ -41,7 +41,7 @@ static int currentChannel = 0;
4141
// Some new MCUs (-S2, -C3) don't have HardwareSerial(2)
4242
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 2, 0)
4343
#if SOC_UART_NUM < 3
44-
#error DMX output is not possible on your MCU, as it doesn't have HardwareSerial(2)
44+
#error DMX output is not possible on your MCU, as it does not have HardwareSerial(2)
4545
#endif
4646
#endif
4747

0 commit comments

Comments
 (0)