From fc84725ae4c2c0a10f1e9164ffdba2c3596e903f Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 25 Dec 2025 09:58:52 +0000
Subject: [PATCH 1/3] Initial plan
From 99e07432814179cb2a78e7897467aea53932d4de Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 25 Dec 2025 10:06:30 +0000
Subject: [PATCH 2/3] Fix Hub75 shown incorrectly in LED output dropdowns
Call hideHub75() after dynamically adding new LED outputs to ensure Hub75 options are removed when Hub75 support is not compiled in.
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
---
wled00/data/settings_leds.htm | 1 +
1 file changed, 1 insertion(+)
diff --git a/wled00/data/settings_leds.htm b/wled00/data/settings_leds.htm
index 1bde6fbc97..487f338563 100644
--- a/wled00/data/settings_leds.htm
+++ b/wled00/data/settings_leds.htm
@@ -464,6 +464,7 @@
Auto-calculate white channel from RGB:
`;
f.insertAdjacentHTML("beforeend", cn);
+ hideHub75(); // remove Hub75 options if not supported
}
if (n==-1) {
o[--i].remove();--i;
From 381208b81f3b128df806df304262c71612f32c55 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Tue, 13 Jan 2026 20:53:34 +0000
Subject: [PATCH 3/3] Fix Hub75 removal breaking Hub75-enabled builds
Only call hideHub75() when Hub75 is actually disabled. Track with window.hub75Hidden flag set when hideHub75() is first called by backend.
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
---
wled00/data/settings_leds.htm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/wled00/data/settings_leds.htm b/wled00/data/settings_leds.htm
index 487f338563..c2775ac426 100644
--- a/wled00/data/settings_leds.htm
+++ b/wled00/data/settings_leds.htm
@@ -17,6 +17,7 @@
function gId(n){return d.getElementById(n);}
function hideNoIR(){gId("irOnOff2").style.display="none";} //WLEDMM
function hideHub75() {
+ window.hub75Hidden = true; // Track that Hub75 should be hidden
var s = d.getElementsByTagName("select");
for (i=0; i Auto-calculate white channel from RGB:
`;
f.insertAdjacentHTML("beforeend", cn);
- hideHub75(); // remove Hub75 options if not supported
+ if (window.hub75Hidden) hideHub75(); // remove Hub75 options if not supported
}
if (n==-1) {
o[--i].remove();--i;