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 5ae6e69d6a..9ac1893d23 100644 --- a/quantum/rgblight.c +++ b/quantum/rgblight.c @@ -373,7 +373,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 @@ -394,6 +394,7 @@ void rgblight_set(void) { #endif } } +#endif #ifdef RGBLIGHT_ANIMATIONS |