summaryrefslogtreecommitdiff
path: root/quantum
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 /quantum
parenta1452db98abc2a95bac30a5f36d514748cc9851d (diff)
Move rgblight and backlight task to common location (#7733)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/quantum.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index bf159644ab..9cd50b11d8 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -634,12 +634,8 @@ void matrix_scan_quantum() {
matrix_scan_combo();
#endif
-#if defined(BACKLIGHT_ENABLE)
-# if defined(LED_MATRIX_ENABLE)
+#ifdef LED_MATRIX_ENABLE
led_matrix_task();
-# elif defined(BACKLIGHT_PIN) || defined(BACKLIGHT_PINS)
- backlight_task();
-# endif
#endif
#ifdef RGB_MATRIX_ENABLE