From 651b4d246169e728346c180bbec8ea9f877f95ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Kristan?= Date: Fri, 21 May 2021 10:04:22 +0200 Subject: [PATCH] Fixed XML API containing -1 on Manual only RGBW mode (see #888, #1783) --- wled00/xml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled00/xml.cpp b/wled00/xml.cpp index 71854fa0..60849c27 100644 --- a/wled00/xml.cpp +++ b/wled00/xml.cpp @@ -51,7 +51,7 @@ void XML_response(AsyncWebServerRequest *request, char* dest) oappend(SET_F("")); oappendi(effectPalette); oappend(SET_F("")); - if (strip.rgbwMode) { + if (strip.isRgbw) { oappendi(col[3]); } else { oappend("-1");