X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common_features.mk;h=ff01ecb85df88e20619047edf398be5b87501bbb;hb=6b74dd6de5359da18e87b2d4894e3ffc3fc89d47;hp=8c7043cb7ec29cb6dd987c1f902c3692ed6355ee;hpb=bf2670601d29551896bab6811b9bb64de2d0ee0e;p=qmk_firmware.git 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