1
0
Fork 0

Fix RGB Matrix using RGBW WS2812 LEDs (#9705)

This should be a pointer, as that is what the function expects.
This commit is contained in:
Drashna Jaelre 2020-07-13 15:28:42 -07:00 committed by GitHub
parent 9307762d76
commit 584d38b5f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,7 +128,7 @@ static inline void setled(int i, uint8_t r, uint8_t g, uint8_t b) {
rgb_matrix_ws2812_array[i].g = g; rgb_matrix_ws2812_array[i].g = g;
rgb_matrix_ws2812_array[i].b = b; rgb_matrix_ws2812_array[i].b = b;
# ifdef RGBW # ifdef RGBW
convert_rgb_to_rgbw(rgb_matrix_ws2812_array[i]); convert_rgb_to_rgbw(&rgb_matrix_ws2812_array[i]);
# endif # endif
} }