aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/common
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-01-19 00:59:09 +0000
committerGitHub <noreply@github.com>2020-01-19 00:59:09 +0000
commitba628a28bcf09421739922d8eeef05e6ca9e9b6b (patch)
tree75ef0b111a6f7f33026cab285a318dca56c0c992 /tmk_core/common
parenta1452db98abc2a95bac30a5f36d514748cc9851d (diff)
downloadqmk_firmware-ba628a28bcf09421739922d8eeef05e6ca9e9b6b.tar.gz
qmk_firmware-ba628a28bcf09421739922d8eeef05e6ca9e9b6b.zip
Move rgblight and backlight task to common location (#7733)
Diffstat (limited to 'tmk_core/common')
-rw-r--r--tmk_core/common/keyboard.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c
index 794a9152f..cb4e7637f 100644
--- a/tmk_core/common/keyboard.c
+++ b/tmk_core/common/keyboard.c
@@ -335,6 +335,16 @@ MATRIX_LOOP_END:
335 matrix_scan_perf_task(); 335 matrix_scan_perf_task();
336#endif 336#endif
337 337
338#if defined(RGBLIGHT_ANIMATIONS) && defined(RGBLIGHT_ENABLE)
339 rgblight_task();
340#endif
341
342#if defined(BACKLIGHT_ENABLE)
343# if defined(BACKLIGHT_PIN) || defined(BACKLIGHT_PINS)
344 backlight_task();
345# endif
346#endif
347
338#ifdef QWIIC_ENABLE 348#ifdef QWIIC_ENABLE
339 qwiic_task(); 349 qwiic_task();
340#endif 350#endif