summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-01-19 00:59:09 +0000
committerFlorian Didron <fdidron@users.noreply.github.com>2020-02-26 10:15:12 +0900
commit5b6592f616b77f0be0146f2c7f4b6198f06516bd (patch)
treeeee4060c6695b82433606f959aef75964b6c997a /quantum
parent895f8bdeb57071f0d10c4e8c0199acd8e18f1bf7 (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 9870d8fca5..de33935edf 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -635,12 +635,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