aboutsummaryrefslogtreecommitdiff
path: root/quantum/rgblight.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/rgblight.c')
-rw-r--r--quantum/rgblight.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c
index 4eec2a776..49420de37 100644
--- a/quantum/rgblight.c
+++ b/quantum/rgblight.c
@@ -364,7 +364,7 @@ void rgblight_setrgb(uint8_t r, uint8_t g, uint8_t b) {
364 rgblight_set(); 364 rgblight_set();
365} 365}
366 366
367__attribute__ ((weak)) 367#ifndef RGBLIGHT_CUSTOM_DRIVER
368void rgblight_set(void) { 368void rgblight_set(void) {
369 if (rgblight_config.enable) { 369 if (rgblight_config.enable) {
370 #ifdef RGBW 370 #ifdef RGBW
@@ -385,6 +385,7 @@ void rgblight_set(void) {
385 #endif 385 #endif
386 } 386 }
387} 387}
388#endif
388 389
389#ifdef RGBLIGHT_ANIMATIONS 390#ifdef RGBLIGHT_ANIMATIONS
390 391