From cc146e32dcc32c0213c501d734c8c9d61c974ee5 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Fri, 15 Feb 2019 06:37:44 -0800 Subject: Improve RGB Light code (#4326) * Improve RGB Light code * Add is_rgblight_initialized as an externed value in rgblight.h * Use remander of hue --- quantum/rgblight.h | 1 + 1 file changed, 1 insertion(+) (limited to 'quantum/rgblight.h') 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; -- cgit v1.2.3-24-g4f1b