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 qmk_firmware-cc146e32dcc32c0213c501d734c8c9d61c974ee5.zip | |
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; | |||
| 146 | extern const uint8_t RGBLED_SNAKE_INTERVALS[3] PROGMEM; | 146 | extern const uint8_t RGBLED_SNAKE_INTERVALS[3] PROGMEM; |
| 147 | extern const uint8_t RGBLED_KNIGHT_INTERVALS[3] PROGMEM; | 147 | extern const uint8_t RGBLED_KNIGHT_INTERVALS[3] PROGMEM; |
| 148 | extern const uint16_t RGBLED_RGBTEST_INTERVALS[1] PROGMEM; | 148 | extern const uint16_t RGBLED_RGBTEST_INTERVALS[1] PROGMEM; |
| 149 | extern bool is_rgblight_initialized; | ||
| 149 | 150 | ||
| 150 | typedef union { | 151 | typedef union { |
| 151 | uint32_t raw; | 152 | uint32_t raw; |
