Fix RGB Matrix using RGBW WS2812 LEDs (#9705)

This should be a pointer, as that is what the function expects.
master
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
1 changed files with 1 additions and 1 deletions

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].b = b;
# ifdef RGBW
convert_rgb_to_rgbw(rgb_matrix_ws2812_array[i]);
convert_rgb_to_rgbw(&rgb_matrix_ws2812_array[i]);
# endif
}