diff options
author | Ryan <[email protected]> | 2021-03-08 16:55:00 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 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 070bd01317..7c2dcaa829 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h @@ -30,11 +30,11 @@ #include "keymap.h" #ifdef BACKLIGHT_ENABLE -# ifdef LED_MATRIX_ENABLE -# include "led_matrix.h" -# else -# include "backlight.h" -# endif +# include "backlight.h" +#endif + +#ifdef LED_MATRIX_ENABLE +# include "led_matrix.h" #endif #if defined(RGBLIGHT_ENABLE) @@ -98,7 +98,7 @@ extern layer_state_t layer_state; # include "process_music.h" #endif -#ifdef BACKLIGHT_ENABLE +#if defined(BACKLIGHT_ENABLE) || defined(LED_MATRIX_ENABLE) # include "process_backlight.h" #endif |