Fix Hue sync for RGBW white in XY color mode

pull/1353/head
Abhi Gulati 2020-11-17 23:18:30 -06:00
rodzic 176e18e4c0
commit 39009c482d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -164,7 +164,7 @@ void colorXYtoRGB(float x, float y, byte* rgb) //coordinates to rgb (https://www
rgb[0] = 255.0*r;
rgb[1] = 255.0*g;
rgb[2] = 255.0*b;
if (useRGBW) colorRGBtoRGBW(col);
if (useRGBW && strip.rgbwMode == RGBW_MODE_LEGACY) colorRGBtoRGBW(col);
}
void colorRGBtoXY(byte* rgb, float* xy) //rgb to coordinates (https://www.developers.meethue.com/documentation/color-conversions-rgb-xy)