aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quantum/rgb_matrix_drivers.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/rgb_matrix_drivers.c b/quantum/rgb_matrix_drivers.c
index 6084d5685..0403d6c96 100644
--- a/quantum/rgb_matrix_drivers.c
+++ b/quantum/rgb_matrix_drivers.c
@@ -111,6 +111,10 @@ const rgb_matrix_driver_t rgb_matrix_driver = {
111# endif 111# endif
112 112
113#elif defined(WS2812) 113#elif defined(WS2812)
114# if defined(RGBLIGHT_ENABLE) && !defined(RGBLIGHT_CUSTOM_DRIVER)
115# pragma message "Cannot use RGBLIGHT and RGB Matrix using WS2812 at the same time."
116# pragma message "You need to use a custom driver, or re-implement the WS2812 driver to use a different configuration."
117# endif
114 118
115// LED color buffer 119// LED color buffer
116LED_TYPE rgb_matrix_ws2812_array[DRIVER_LED_TOTAL]; 120LED_TYPE rgb_matrix_ws2812_array[DRIVER_LED_TOTAL];