diff options
author | Ryan <fauxpark@gmail.com> | 2021-03-08 16:55:00 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 16:55:00 +1100 |
commit | 9155b59e1a496b64f7aa576e6e4cb84fd0a9607b (patch) | |
tree | f9960c672a5521d24217fffb2321ee1b978b7f8b /quantum/quantum.h | |
parent | b0069c5c05dac2c910d51ef7f3bf4133721a9c49 (diff) | |
download | qmk_firmware-9155b59e1a496b64f7aa576e6e4cb84fd0a9607b.tar.gz qmk_firmware-9155b59e1a496b64f7aa576e6e4cb84fd0a9607b.zip |
LED Matrix: decouple from Backlight (#12054)
Diffstat (limited to 'quantum/quantum.h')
-rw-r--r-- | quantum/quantum.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h index 070bd0131..7c2dcaa82 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h | |||
@@ -30,11 +30,11 @@ | |||
30 | #include "keymap.h" | 30 | #include "keymap.h" |
31 | 31 | ||
32 | #ifdef BACKLIGHT_ENABLE | 32 | #ifdef BACKLIGHT_ENABLE |
33 | # ifdef LED_MATRIX_ENABLE | 33 | # include "backlight.h" |
34 | # include "led_matrix.h" | 34 | #endif |
35 | # else | 35 | |
36 | # include "backlight.h" | 36 | #ifdef LED_MATRIX_ENABLE |
37 | # endif | 37 | # include "led_matrix.h" |
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | #if defined(RGBLIGHT_ENABLE) | 40 | #if defined(RGBLIGHT_ENABLE) |
@@ -98,7 +98,7 @@ extern layer_state_t layer_state; | |||
98 | # include "process_music.h" | 98 | # include "process_music.h" |
99 | #endif | 99 | #endif |
100 | 100 | ||
101 | #ifdef BACKLIGHT_ENABLE | 101 | #if defined(BACKLIGHT_ENABLE) || defined(LED_MATRIX_ENABLE) |
102 | # include "process_backlight.h" | 102 | # include "process_backlight.h" |
103 | #endif | 103 | #endif |
104 | 104 | ||