summaryrefslogtreecommitdiffstats
path: root/quantum/visualizer
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-04-01 17:43:38 +0300
committerFred Sundvik <fsundvik@gmail.com>2017-04-09 18:34:59 +0300
commitf113f95440f8cd7377930868656caf515dbd609c (patch)
treec5cc985994fc17b8344605d83769882416f7cec4 /quantum/visualizer
parentbc97413bf70b1906b387dea35bb22575ec57eff8 (diff)
Move CIE1931 and breathing tables to its own file
Diffstat (limited to 'quantum/visualizer')
-rw-r--r--quantum/visualizer/visualizer.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/visualizer/visualizer.mk b/quantum/visualizer/visualizer.mk
index 8f5fb89334..3861cb1f04 100644
--- a/quantum/visualizer/visualizer.mk
+++ b/quantum/visualizer/visualizer.mk
@@ -32,12 +32,12 @@ OPT_DEFS += -DLCD_ENABLE
ULIBS += -lm
endif
-ifdef LCD_BACKLIGHT_ENABLE
+ifeq ($(strip $(LCD_ENABLE)), yes)
SRC += $(VISUALIZER_DIR)/lcd_backlight.c
OPT_DEFS += -DLCD_BACKLIGHT_ENABLE
endif
-ifdef LED_ENABLE
+ifeq ($(strip $(LED_ENABLE)), yes)
SRC += $(VISUALIZER_DIR)/led_test.c
OPT_DEFS += -DLED_ENABLE
endif