diff options
Diffstat (limited to 'quantum/rgblight.c')
-rw-r--r-- | quantum/rgblight.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c index 4eec2a7762..49420de376 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) { rgblight_set(); } -__attribute__ ((weak)) +#ifndef RGBLIGHT_CUSTOM_DRIVER void rgblight_set(void) { if (rgblight_config.enable) { #ifdef RGBW @@ -385,6 +385,7 @@ void rgblight_set(void) { #endif } } +#endif #ifdef RGBLIGHT_ANIMATIONS |