aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/quantum.c
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-11-02 21:20:03 +0000
committerGitHub <noreply@github.com>2019-11-02 21:20:03 +0000
commit4531cc874e1bb8602fede9dc038b692673521590 (patch)
tree8e0ca8571a0de21513e00829e638f998387af1b7 /quantum/quantum.c
parentff8d43694659b36ea5215a4183d43f58fc7f01e9 (diff)
downloadfirmware-4531cc874e1bb8602fede9dc038b692673521590.tar.gz
firmware-4531cc874e1bb8602fede9dc038b692673521590.tar.bz2
firmware-4531cc874e1bb8602fede9dc038b692673521590.zip
Initial migration of software PWM backlight (#6709)
* Initial migration of software PWM backlight * First pass at backlight driver docs * Correct driver name in docs * Run backlight_task when using BACKLIGHT_PINS * Resolve backlight docs TODOs
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r--quantum/quantum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index d689a9fbf..571dda4c5 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -981,7 +981,7 @@ void matrix_scan_quantum() {
#if defined(BACKLIGHT_ENABLE)
# if defined(LED_MATRIX_ENABLE)
led_matrix_task();
-# elif defined(BACKLIGHT_PIN)
+# elif defined(BACKLIGHT_PIN) || defined(BACKLIGHT_PINS)
backlight_task();
# endif
#endif