aboutsummaryrefslogtreecommitdiffstats
path: root/build_keyboard.mk
diff options
context:
space:
mode:
authorGravatar Fred Sundvik <fsundvik@gmail.com>2017-06-03 14:34:50 +0300
committerGravatar Fred Sundvik <fsundvik@gmail.com>2017-06-03 14:34:50 +0300
commita916f4e8b897b6b8925d7113d84f9eac7e7b67be (patch)
tree19131f31ecd9ccb8fb5672caf1b5ef652f4f88f1 /build_keyboard.mk
parentaaa67f69305c5c78e15a1090ba7058adea59ff36 (diff)
downloadqmk_firmware-a916f4e8b897b6b8925d7113d84f9eac7e7b67be.tar.gz
Let BACKLIGHT_ENABLE control the Infinity LEDs
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r--build_keyboard.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk
index 9fa8c3126..36eab3a9e 100644
--- a/build_keyboard.mk
+++ b/build_keyboard.mk
@@ -233,8 +233,10 @@ ifeq ($(strip $(LCD_ENABLE)), yes)
CIE1931_CURVE = yes
endif
-ifeq ($(strip $(LED_ENABLE)), yes)
- CIE1931_CURVE = yes
+ifeq ($(strip $(BACKLIGHT_ENABLE)), yes)
+ ifeq ($(strip $(VISUALIZER_ENABLE)), yes)
+ CIE1931_CURVE = yes
+ endif
endif
ifeq ($(strip $(CIE1931_CURVE)), yes)