aboutsummaryrefslogtreecommitdiffstats
path: root/common_features.mk
diff options
context:
space:
mode:
authorGravatar skullY <skullydazed@gmail.com>2019-01-26 21:25:59 -0800
committerGravatar skullydazed <skullydazed@users.noreply.github.com>2019-02-10 15:37:12 -0800
commit6b74dd6de5359da18e87b2d4894e3ffc3fc89d47 (patch)
treed4b467f032aadac477c4c2fb21d17a6c35dd30a0 /common_features.mk
parentbf2670601d29551896bab6811b9bb64de2d0ee0e (diff)
downloadqmk_firmware-6b74dd6de5359da18e87b2d4894e3ffc3fc89d47.tar.gz
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