summaryrefslogtreecommitdiffstats
path: root/common_features.mk
diff options
context:
space:
mode:
authorskullY <skullydazed@gmail.com>2019-01-27 06:25:59 +0100
committerskullydazed <skullydazed@users.noreply.github.com>2019-02-11 00:37:12 +0100
commit6b74dd6de5359da18e87b2d4894e3ffc3fc89d47 (patch)
treed4b467f032aadac477c4c2fb21d17a6c35dd30a0 /common_features.mk
parentbf2670601d29551896bab6811b9bb64de2d0ee0e (diff)
downloadqmk_firmware-6b74dd6de5359da18e87b2d4894e3ffc3fc89d47.tar.gz
qmk_firmware-6b74dd6de5359da18e87b2d4894e3ffc3fc89d47.tar.xz
led_matrix works now
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/common_features.mk b/common_features.mk
index 8c7043cb7..ff01ecb85 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -209,7 +209,10 @@ ifeq ($(strip $(BACKLIGHT_ENABLE)), yes)
ifeq ($(strip $(VISUALIZER_ENABLE)), yes)
CIE1931_CURVE = yes
endif
- ifeq ($(strip $(BACKLIGHT_CUSTOM_DRIVER)), yes)
+ ifeq ($(strip $(BACKLIGHT_CUSTOM_DRIVER)), yes)
+ OPT_DEFS += -DBACKLIGHT_CUSTOM_DRIVER
+ endif
+ ifeq ($(filter $(LED_MATRIX_ENABLE),$(VALID_MATRIX_TYPES)),)
OPT_DEFS += -DBACKLIGHT_CUSTOM_DRIVER
endif
endif