From 147384074d5a7e637d324f0fba71c88a4c584b4b Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Fri, 6 Feb 2026 19:50:45 +0000 Subject: [PATCH] Fix the hiding of the lack of dmx output support message for builds that do have support --- wled00/data/settings_sync.htm | 3 ++- wled00/xml.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wled00/data/settings_sync.htm b/wled00/data/settings_sync.htm index 73e4d9a2..1d026946 100644 --- a/wled00/data/settings_sync.htm +++ b/wled00/data/settings_sync.htm @@ -50,6 +50,7 @@ } function hideDMXInput(){gId("dmxInput").style.display="none";} function hideNoDMXInput(){gId("dmxInputOff").style.display="none";} + function hideNoDMXOutput(){gId("dmxOnOffOutput").style.display="none";} @@ -170,7 +171,7 @@ Realtime LED offset:
This firmware build does not include DMX Input support.
-
+

This firmware build does not include DMX output support.

diff --git a/wled00/xml.cpp b/wled00/xml.cpp index 194256d8..ea4efe88 100644 --- a/wled00/xml.cpp +++ b/wled00/xml.cpp @@ -459,7 +459,7 @@ void getSettingsJS(byte subPage, Print& settingsScript) printSetFormCheckbox(settingsScript,PSTR("EM"),e131Multicast); printSetFormValue(settingsScript,PSTR("EU"),e131Universe); #ifdef WLED_ENABLE_DMX - settingsScript.print(SET_F("hideNoDMX();")); // hide "not compiled in" message + settingsScript.print(SET_F("hideNoDMXOutput();")); // hide "not compiled in" message #endif #ifndef WLED_ENABLE_DMX_INPUT settingsScript.print(SET_F("hideDMXInput();")); // hide "dmx input" settings