diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2016-12-29 21:42:16 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-29 21:42:16 -0500 |
| commit | 8a76075ca7bb2a8346053b8293e177853fe8e92f (patch) | |
| tree | 5a17ac0ea5df1fd466ff44ffa68ba83a531b0dab /quantum/rgblight.h | |
| parent | 223cffd92f44311612aacbfb3358ec7a33a68d74 (diff) | |
| parent | b8e74c378b1f118178edf0634d9fa7f0f9dd5e08 (diff) | |
| download | qmk_firmware-8a76075ca7bb2a8346053b8293e177853fe8e92f.tar.gz qmk_firmware-8a76075ca7bb2a8346053b8293e177853fe8e92f.zip | |
Merge pull request #972 from mechkeys/rgb_compat
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 ceb624692..726b8de72 100644 --- a/quantum/rgblight.h +++ b/quantum/rgblight.h | |||
| @@ -40,6 +40,8 @@ | |||
| 40 | #include "eeconfig.h" | 40 | #include "eeconfig.h" |
| 41 | #include "light_ws2812.h" | 41 | #include "light_ws2812.h" |
| 42 | 42 | ||
| 43 | extern LED_TYPE led[RGBLED_NUM]; | ||
| 44 | |||
| 43 | extern const uint8_t RGBLED_BREATHING_INTERVALS[4] PROGMEM; | 45 | extern const uint8_t RGBLED_BREATHING_INTERVALS[4] PROGMEM; |
| 44 | extern const uint8_t RGBLED_RAINBOW_MOOD_INTERVALS[3] PROGMEM; | 46 | extern const uint8_t RGBLED_RAINBOW_MOOD_INTERVALS[3] PROGMEM; |
| 45 | extern const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[3] PROGMEM; | 47 | extern const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[3] PROGMEM; |
