Let BACKLIGHT_ENABLE control the Infinity LEDs

This commit is contained in:
Fred Sundvik committed 2017-06-03 14:34:50 +03:00
1 parent aaa67f6930
commit a916f4e8b8
6 files changed
+12 -16

No files matched your search

+1 -2
View File
@@ -42,9 +42,8 @@ SRC += $(VISUALIZER_DIR)/resources/lcd_logo.c
OPT_DEFS += -DLCD_BACKLIGHT_ENABLE
endif
ifeq ($(strip $(LED_ENABLE)), yes)
ifeq ($(strip $(BACKLIGHT_ENABLE)), yes)
SRC += $(VISUALIZER_DIR)/led_keyframes.c
OPT_DEFS += -DLED_ENABLE
endif
include $(GFXLIB)/gfx.mk