From 0d03c1c260dee1aff8c035d2211cf90ad61c6efe Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Fri, 22 Nov 2019 10:57:12 +0100 Subject: [PATCH] Update xdrv_01_webserver.ino --- tasmota/xdrv_01_webserver.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xdrv_01_webserver.ino b/tasmota/xdrv_01_webserver.ino index 61c639931..59aa737fb 100644 --- a/tasmota/xdrv_01_webserver.ino +++ b/tasmota/xdrv_01_webserver.ino @@ -1028,7 +1028,7 @@ void HandleRoot(void) changeUIntScale(Settings.light_color[i], 0, 255, 0, 100), 'd', i+1); } } // Settings.flag3.pwm_multi_channels - if (light_type > 2) { + if ((light_type & 7) > 3) { char hexColor[65]; snprintf_P(hexColor, sizeof(hexColor), PSTR("grey,#%02X%02X%02X );border-radius:0.3em;"), Settings.light_color[0],Settings.light_color[1],Settings.light_color[2]); uint16_t hue;