summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2020-07-13 15:28:42 -0700
committerDrashna Jael're <drashna@live.com>2020-08-08 22:36:08 -0700
commit07c36a9ddf8670f84b5b832b11398b99b788c9c7 (patch)
treec6e605f431a2ca7dd878595259176d93319d52ac
parent0d781c50bc520798fd0597011cf313789ff18cb7 (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
}