diff options
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r-- | tmk_core/protocol/chibios/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tmk_core/protocol/chibios/main.c b/tmk_core/protocol/chibios/main.c index de2b493b8..c304f4d79 100644 --- a/tmk_core/protocol/chibios/main.c +++ b/tmk_core/protocol/chibios/main.c | |||
@@ -32,6 +32,11 @@ | |||
32 | #include "sendchar.h" | 32 | #include "sendchar.h" |
33 | #include "debug.h" | 33 | #include "debug.h" |
34 | #include "printf.h" | 34 | #include "printf.h" |
35 | #include "rgblight_reconfig.h" | ||
36 | |||
37 | #if (defined(RGB_MIDI) || defined(RGBLIGHT_ANIMATIONS)) && defined(RGBLIGHT_ENABLE) | ||
38 | # include "rgblight.h" | ||
39 | #endif | ||
35 | #ifdef SLEEP_LED_ENABLE | 40 | #ifdef SLEEP_LED_ENABLE |
36 | # include "sleep_led.h" | 41 | # include "sleep_led.h" |
37 | #endif | 42 | #endif |
@@ -215,5 +220,8 @@ int main(void) { | |||
215 | #ifdef RAW_ENABLE | 220 | #ifdef RAW_ENABLE |
216 | raw_hid_task(); | 221 | raw_hid_task(); |
217 | #endif | 222 | #endif |
223 | #if defined(RGBLIGHT_ANIMATIONS) && defined(RGBLIGHT_ENABLE) | ||
224 | rgblight_task(); | ||
225 | #endif | ||
218 | } | 226 | } |
219 | } | 227 | } |