diff --git a/libraries/ezWS2812/src/ezWS2812.h b/libraries/ezWS2812/src/ezWS2812.h index 4691f4d..855cfc6 100644 --- a/libraries/ezWS2812/src/ezWS2812.h +++ b/libraries/ezWS2812/src/ezWS2812.h @@ -63,9 +63,9 @@ class ezWS2812 { colors[c] = (uint8_t)color_adj; } } else if (brightness == 0) { - red = 0; - green = 0; - blue = 0; + colors[0] = 0; + colors[1] = 0; + colors[2] = 0; } // Go through the output array