From 02b08939cdbb6e2b363ae03258934d34f64799e9 Mon Sep 17 00:00:00 2001 From: cschwinne Date: Sun, 6 Mar 2022 11:48:17 +0100 Subject: [PATCH] No color order select on PWM busses (fixes #2569) --- wled00/data/settings_leds.htm | 2 +- wled00/html_settings.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wled00/data/settings_leds.htm b/wled00/data/settings_leds.htm index 76bd8379..6b8d347f 100644 --- a/wled00/data/settings_leds.htm +++ b/wled00/data/settings_leds.htm @@ -157,7 +157,7 @@ } gId("rf"+n).onclick = (t == 31) ? (function(){return false}) : (function(){}); // prevent change for TM1814 isRGBW |= (t == 30 || t == 31 || (t > 40 && t < 46 && t != 43)); // RGBW checkbox, TYPE_xxxx values from const.h - gId("co"+n).style.display = ((t>=80 && t<96) || t == 41 || t == 42) ? "none":"inline"; // hide color order for PWM W & WW/CW + gId("co"+n).style.display = ((t>=80 && t<96) || (t > 40 && t < 48)) ? "none":"inline"; // hide color order for PWM gId("dig"+n+"c").style.display = (t > 40 && t < 48) ? "none":"inline"; // hide count for analog gId("dig"+n+"r").style.display = (t>=80 && t<96) ? "none":"inline"; // hide reversed for virtual gId("dig"+n+"s").style.display = ((t>=80 && t<96) || (t > 40 && t < 48)) ? "none":"inline"; // hide skip 1st for virtual & analog diff --git a/wled00/html_settings.h b/wled00/html_settings.h index 9fd0ea76..02ee5d14 100644 --- a/wled00/html_settings.h +++ b/wled00/html_settings.h @@ -76,7 +76,7 @@ const char PAGE_settings_leds[] PROGMEM = R"=====(LED Settings