diff options
author | Drashna Jaelre <drashna@live.com> | 2019-02-15 06:37:44 -0800 |
---|---|---|
committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-02-15 06:37:44 -0800 |
commit | cc146e32dcc32c0213c501d734c8c9d61c974ee5 (patch) | |
tree | 58ce7d17e822fb3ddbb4184f380601e7ade073cb /quantum/rgblight.h | |
parent | 68fad7b777e629b9837b1f60080a21386002c444 (diff) | |
download | qmk_firmware-cc146e32dcc32c0213c501d734c8c9d61c974ee5.tar.gz |
Improve RGB Light code (#4326)
* Improve RGB Light code
* Add is_rgblight_initialized as an externed value in rgblight.h
* Use remander of hue
Diffstat (limited to 'quantum/rgblight.h')
-rw-r--r-- | quantum/rgblight.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h index 65dda3f52..03534bd31 100644 --- a/quantum/rgblight.h +++ b/quantum/rgblight.h @@ -146,6 +146,7 @@ extern const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[3] PROGMEM; extern const uint8_t RGBLED_SNAKE_INTERVALS[3] PROGMEM; extern const uint8_t RGBLED_KNIGHT_INTERVALS[3] PROGMEM; extern const uint16_t RGBLED_RGBTEST_INTERVALS[1] PROGMEM; +extern bool is_rgblight_initialized; typedef union { uint32_t raw; |