diff options
Diffstat (limited to 'quantum/visualizer/visualizer.mk')
| -rw-r--r-- | quantum/visualizer/visualizer.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/quantum/visualizer/visualizer.mk b/quantum/visualizer/visualizer.mk index 3bf3f7de6..4c961ac59 100644 --- a/quantum/visualizer/visualizer.mk +++ b/quantum/visualizer/visualizer.mk | |||
| @@ -58,12 +58,14 @@ ULIBS += -lm | |||
| 58 | endif | 58 | endif |
| 59 | 59 | ||
| 60 | ifeq ($(strip $(LCD_ENABLE)), yes) | 60 | ifeq ($(strip $(LCD_ENABLE)), yes) |
| 61 | SRC += $(VISUALIZER_DIR)/lcd_backlight.c | 61 | SRC += $(VISUALIZER_DIR)/lcd_keyframes.c |
| 62 | SRC += $(VISUALIZER_DIR)/lcd_keyframes.c | 62 | ifeq ($(strip $(LCD_BACKLIGHT_ENABLE)), yes) |
| 63 | SRC += $(VISUALIZER_DIR)/lcd_backlight_keyframes.c | 63 | OPT_DEFS += -DLCD_BACKLIGHT_ENABLE |
| 64 | SRC += $(VISUALIZER_DIR)/lcd_backlight.c | ||
| 65 | SRC += $(VISUALIZER_DIR)/lcd_backlight_keyframes.c | ||
| 66 | endif | ||
| 64 | # Note, that the linker will strip out any resources that are not actually in use | 67 | # Note, that the linker will strip out any resources that are not actually in use |
| 65 | SRC += $(VISUALIZER_DIR)/resources/lcd_logo.c | 68 | SRC += $(VISUALIZER_DIR)/resources/lcd_logo.c |
| 66 | OPT_DEFS += -DLCD_BACKLIGHT_ENABLE | ||
| 67 | $(eval $(call ADD_DRIVER,LCD)) | 69 | $(eval $(call ADD_DRIVER,LCD)) |
| 68 | endif | 70 | endif |
| 69 | 71 | ||
