diff options
author | Scott Wilson <[email protected]> | 2016-12-28 16:29:02 -0500 |
---|---|---|
committer | Scott Wilson <[email protected]> | 2016-12-28 16:29:02 -0500 |
commit | 748181dccddb8c9fa52a776f4fcd904ddca9aa31 (patch) | |
tree | 4dd461ca9fa035404bbe4dc3f5aa3c8f3952a300 /quantum/rgblight.h | |
parent | 273faa4d9cd5a84207548f83ba550c9efee90933 (diff) | |
download | qmk_firmware-748181dccddb8c9fa52a776f4fcd904ddca9aa31.tar.gz qmk_firmware-748181dccddb8c9fa52a776f4fcd904ddca9aa31.zip |
Add extern for 'led' global, set 'weak' attribute for rgblight_set()
Diffstat (limited to 'quantum/rgblight.h')
-rw-r--r-- | quantum/rgblight.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h index ceb624692a..726b8de72e 100644 --- a/quantum/rgblight.h +++ b/quantum/rgblight.h @@ -40,6 +40,8 @@ #include "eeconfig.h" #include "light_ws2812.h" +extern LED_TYPE led[RGBLED_NUM]; + extern const uint8_t RGBLED_BREATHING_INTERVALS[4] PROGMEM; extern const uint8_t RGBLED_RAINBOW_MOOD_INTERVALS[3] PROGMEM; extern const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[3] PROGMEM; |