summaryrefslogtreecommitdiff
path: root/quantum/rgblight.h
diff options
context:
space:
mode:
authorDamien <Dbroqua@users.noreply.github.com>2017-01-07 08:45:19 -0600
committerGitHub <noreply@github.com>2017-01-07 08:45:19 -0600
commit0fb82c15a5c9a69e17cff8dcd04c652d21381958 (patch)
treedd7a441ad7d086bb7cb4b093bd8d0cbd4d39d69d /quantum/rgblight.h
parentdb48b28eeb5ebe5252cc04495d5eb326fa62dc26 (diff)
parente7df488a92da56cf160ac64c8cc7302ab717e145 (diff)
downloadqmk_firmware-0fb82c15a5c9a69e17cff8dcd04c652d21381958.tar.gz
qmk_firmware-0fb82c15a5c9a69e17cff8dcd04c652d21381958.zip
Merge pull request #15 from jackhumbert/master
Merge from qmk
Diffstat (limited to 'quantum/rgblight.h')
-rw-r--r--quantum/rgblight.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h
index aa1d026e0e..726b8de72e 100644
--- a/quantum/rgblight.h
+++ b/quantum/rgblight.h
@@ -2,7 +2,7 @@
#define RGBLIGHT_H
#ifdef RGBLIGHT_ANIMATIONS
- #define RGBLIGHT_MODES 23
+ #define RGBLIGHT_MODES 24
#else
#define RGBLIGHT_MODES 1
#endif
@@ -40,6 +40,8 @@
#include "eeconfig.h"
#include "light_ws2812.h"
+extern LED_TYPE led[RGBLED_NUM];
+
extern const uint8_t RGBLED_BREATHING_INTERVALS[4] PROGMEM;
extern const uint8_t RGBLED_RAINBOW_MOOD_INTERVALS[3] PROGMEM;
extern const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[3] PROGMEM;
@@ -98,5 +100,6 @@ void rgblight_effect_rainbow_mood(uint8_t interval);
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);
#endif