use correct DMXSerial object on -S2 and -C3

This commit is contained in:
Frank
2026-01-25 17:12:04 +01:00
parent 8faa88e05b
commit 3150f3b448
2 changed files with 3 additions and 3 deletions

View File

@@ -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