Revert "Rename WLED_ENABLE_DMX to WLED_ENABLE_DMX_OUTPUT"

This reverts commit 7f9cc67518.
This commit is contained in:
Will Tatam
2025-01-16 12:19:25 +00:00
parent d637524bfc
commit 3996f02dea
11 changed files with 24 additions and 32 deletions

View File

@@ -64,7 +64,7 @@ void WLED::loop()
handleImprovWifiScan();
handleNotifications();
handleTransitions();
#ifdef WLED_ENABLE_DMX_OUTPUT
#ifdef WLED_ENABLE_DMX
handleDMXOutput();
#endif
#ifdef WLED_ENABLE_DMX_INPUT
@@ -423,7 +423,7 @@ void WLED::setup()
#if defined(WLED_DEBUG) && !defined(WLED_DEBUG_HOST)
PinManager::allocatePin(hardwareTX, true, PinOwner::DebugOut); // TX (GPIO1 on ESP32) reserved for debug output
#endif
#ifdef WLED_ENABLE_DMX_OUTPUT //reserve GPIO2 as hardcoded DMX pin
#ifdef WLED_ENABLE_DMX //reserve GPIO2 as hardcoded DMX pin
PinManager::allocatePin(2, true, PinOwner::DMX);
#endif
@@ -526,7 +526,7 @@ void WLED::setup()
ArduinoOTA.setHostname(cmDNS);
}
#endif
#ifdef WLED_ENABLE_DMX_OUTPUT
#ifdef WLED_ENABLE_DMX
initDMXOutput();
#endif
#ifdef WLED_ENABLE_DMX_INPUT