diff options
Diffstat (limited to 'quantum/visualizer/visualizer.mk')
-rw-r--r-- | quantum/visualizer/visualizer.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/visualizer/visualizer.mk b/quantum/visualizer/visualizer.mk index 8f5fb8933..3861cb1f0 100644 --- a/quantum/visualizer/visualizer.mk +++ b/quantum/visualizer/visualizer.mk | |||
@@ -32,12 +32,12 @@ OPT_DEFS += -DLCD_ENABLE | |||
32 | ULIBS += -lm | 32 | ULIBS += -lm |
33 | endif | 33 | endif |
34 | 34 | ||
35 | ifdef LCD_BACKLIGHT_ENABLE | 35 | ifeq ($(strip $(LCD_ENABLE)), yes) |
36 | SRC += $(VISUALIZER_DIR)/lcd_backlight.c | 36 | SRC += $(VISUALIZER_DIR)/lcd_backlight.c |
37 | OPT_DEFS += -DLCD_BACKLIGHT_ENABLE | 37 | OPT_DEFS += -DLCD_BACKLIGHT_ENABLE |
38 | endif | 38 | endif |
39 | 39 | ||
40 | ifdef LED_ENABLE | 40 | ifeq ($(strip $(LED_ENABLE)), yes) |
41 | SRC += $(VISUALIZER_DIR)/led_test.c | 41 | SRC += $(VISUALIZER_DIR)/led_test.c |
42 | OPT_DEFS += -DLED_ENABLE | 42 | OPT_DEFS += -DLED_ENABLE |
43 | endif | 43 | endif |