From 584d38b5f55304871bfac1eac3c8c8125d374529 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Mon, 13 Jul 2020 15:28:42 -0700 Subject: Fix RGB Matrix using RGBW WS2812 LEDs (#9705) This should be a pointer, as that is what the function expects. --- quantum/rgb_matrix_drivers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quantum') diff --git a/quantum/rgb_matrix_drivers.c b/quantum/rgb_matrix_drivers.c index 37bc20ef5..6084d5685 100644 --- a/quantum/rgb_matrix_drivers.c +++ b/quantum/rgb_matrix_drivers.c @@ -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 } -- cgit v1.2.3