summaryrefslogtreecommitdiff
path: root/common_features.mk
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-03-08 16:55:00 +1100
committerGitHub <noreply@github.com>2021-03-08 16:55:00 +1100
commit9155b59e1a496b64f7aa576e6e4cb84fd0a9607b (patch)
treef9960c672a5521d24217fffb2321ee1b978b7f8b /common_features.mk
parentb0069c5c05dac2c910d51ef7f3bf4133721a9c49 (diff)
downloadqmk_firmware-9155b59e1a496b64f7aa576e6e4cb84fd0a9607b.tar.gz
qmk_firmware-9155b59e1a496b64f7aa576e6e4cb84fd0a9607b.zip
LED Matrix: decouple from Backlight (#12054)
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/common_features.mk b/common_features.mk
index bdde278b98..fdc481fd2a 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -223,11 +223,10 @@ VALID_LED_MATRIX_TYPES := IS31FL3731 custom
ifeq ($(strip $(LED_MATRIX_ENABLE)), yes)
ifeq ($(filter $(LED_MATRIX_DRIVER),$(VALID_LED_MATRIX_TYPES)),)
- $(error LED_MATRIX_DRIVER="$(LED_MATRIX_DRIVER)" is not a valid matrix type)
+ $(error "$(LED_MATRIX_DRIVER)" is not a valid matrix type)
else
- BACKLIGHT_ENABLE = yes
- BACKLIGHT_DRIVER = custom
OPT_DEFS += -DLED_MATRIX_ENABLE
+ SRC += $(QUANTUM_DIR)/process_keycode/process_backlight.c
SRC += $(QUANTUM_DIR)/led_matrix.c
SRC += $(QUANTUM_DIR)/led_matrix_drivers.c
endif