Revert "Rename WLED_ENABLE_DMX to WLED_ENABLE_DMX_OUTPUT"

This reverts commit e3f256bd44.
This commit is contained in:
Arne
2023-10-22 20:52:31 +02:00
parent f6c9708c8c
commit 3b9b9f59e1
14 changed files with 35 additions and 35 deletions

View File

@@ -607,7 +607,7 @@ bool deserializeConfig(JsonObject doc, bool fromFS) {
getStringFromJson(otaPass, pwd, 33); //normally not present due to security
}
#ifdef WLED_ENABLE_DMX_OUTPUT
#ifdef WLED_ENABLE_DMX
JsonObject dmx = doc["dmx"];
CJSON(DMXChannels, dmx[F("chan")]);
CJSON(DMXGap,dmx[F("gap")]);
@@ -1070,7 +1070,7 @@ void serializeConfig() {
ota[F("pskl")] = strlen(otaPass);
ota[F("aota")] = aOtaEnabled;
#ifdef WLED_ENABLE_DMX_OUTPUT
#ifdef WLED_ENABLE_DMX
JsonObject dmx = doc.createNestedObject("dmx");
dmx[F("chan")] = DMXChannels;
dmx[F("gap")] = DMXGap;