diff options
author | Takeshi ISHII <[email protected]> | 2018-06-05 00:10:39 +0900 |
---|---|---|
committer | Drashna Jaelre <[email protected]> | 2018-06-04 08:10:39 -0700 |
commit | 5229734647706054066c277ea348a6d25cc38095 (patch) | |
tree | ac59bd43b32548ebac576b2fddd6db86afa40f4b /quantum/rgblight.h | |
parent | cb91320d6d8836dd13db19bd2434abe2e7cadc20 (diff) | |
download | qmk_firmware-5229734647706054066c277ea348a6d25cc38095.tar.gz qmk_firmware-5229734647706054066c277ea348a6d25cc38095.zip |
Add rgblight mode 35 (R,G,B test mode) (#3114)
* add rgblight mode 35 (RGB cyclic mode) into quantum/rgblight.c
* Update docs, add rgblight mode 35(RGB cyclic)
* rename RGBCYCLIC to RGBTEST
Diffstat (limited to 'quantum/rgblight.h')
-rw-r--r-- | quantum/rgblight.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h index 569424506b..e9c192a4ed 100644 --- a/quantum/rgblight.h +++ b/quantum/rgblight.h @@ -17,7 +17,7 @@ #define RGBLIGHT_H #ifdef RGBLIGHT_ANIMATIONS - #define RGBLIGHT_MODES 34 + #define RGBLIGHT_MODES 35 #else #define RGBLIGHT_MODES 1 #endif @@ -83,6 +83,7 @@ extern const uint8_t RGBLED_RAINBOW_MOOD_INTERVALS[3] PROGMEM; 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; typedef union { uint32_t raw; @@ -160,5 +161,6 @@ void rgblight_effect_rainbow_swirl(uint8_t interval); void rgblight_effect_snake(uint8_t interval); void rgblight_effect_knight(uint8_t interval); void rgblight_effect_christmas(void); +void rgblight_effect_rgbtest(void); #endif |