summaryrefslogtreecommitdiffstats
path: root/quantum/rgblight.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-02-15 06:37:44 -0800
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-15 06:37:44 -0800
commitcc146e32dcc32c0213c501d734c8c9d61c974ee5 (patch)
tree58ce7d17e822fb3ddbb4184f380601e7ade073cb /quantum/rgblight.h
parent68fad7b777e629b9837b1f60080a21386002c444 (diff)
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h
index 65dda3f521..03534bd311 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;