summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2020-07-13 15:28:42 -0700
committerGitHub <noreply@github.com>2020-07-13 23:28:42 +0100
commit584d38b5f55304871bfac1eac3c8c8125d374529 (patch)
tree5732e82b22dc27c9bf61709318160b08918911d6
parent9307762d76f4b36b788daea003e07bd53af5baad (diff)
Fix RGB Matrix using RGBW WS2812 LEDs (#9705)
This should be a pointer, as that is what the function expects.
-rw-r--r--quantum/rgb_matrix_drivers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/rgb_matrix_drivers.c b/quantum/rgb_matrix_drivers.c
index 37bc20ef53..6084d5685c 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
}