use correct DMXSerial object on -S2 and -C3
This commit is contained in:
@@ -99,7 +99,7 @@ void handleDMXOutput()
|
||||
}
|
||||
|
||||
void initDMXOutput() {
|
||||
#ifdef ESP8266
|
||||
#if defined(ESP8266) || defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32S2)
|
||||
dmx.init(512); // initialize with bus length
|
||||
#else
|
||||
dmx.initWrite(512); // initialize with bus length
|
||||
|
||||
Reference in New Issue
Block a user