diff options
author | Jack Humbert <[email protected]> | 2017-09-15 21:43:58 -0400 |
---|---|---|
committer | Jack Humbert <[email protected]> | 2017-09-15 21:43:58 -0400 |
commit | dc7d0c7b7442b87600352e083e3da4a08cb2d069 (patch) | |
tree | ac6e6b0417e3c6550e6c8e07f615fabdc74b1ef1 /quantum/rgblight.c | |
parent | afcf3a2878d5b5de0f9daba201ab44d779a8b2b1 (diff) | |
parent | d5486265b8afcada68306c815b08c225fce287af (diff) | |
download | qmk_firmware-dc7d0c7b7442b87600352e083e3da4a08cb2d069.tar.gz qmk_firmware-dc7d0c7b7442b87600352e083e3da4a08cb2d069.zip |
update to driver separation
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 |