Fixed XML API <wv> containing -1 on Manual only RGBW mode (see #888, #1783)

This commit is contained in:
Blaž Kristan 2021-05-21 10:04:22 +02:00
parent 01b2468fea
commit 651b4d2461

View File

@ -51,7 +51,7 @@ void XML_response(AsyncWebServerRequest *request, char* dest)
oappend(SET_F("</ix><fp>"));
oappendi(effectPalette);
oappend(SET_F("</fp><wv>"));
if (strip.rgbwMode) {
if (strip.isRgbw) {
oappendi(col[3]);
} else {
oappend("-1");