1
0
Fork 0

ST7565 tidyup (#10907)

This commit is contained in:
Ryan 2020-11-26 23:44:17 +11:00 committed by GitHub
parent 1c0e8a6bb4
commit 3afe0ea9b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 136 additions and 159 deletions

View file

@ -58,12 +58,14 @@ ULIBS += -lm
endif
ifeq ($(strip $(LCD_ENABLE)), yes)
SRC += $(VISUALIZER_DIR)/lcd_backlight.c
SRC += $(VISUALIZER_DIR)/lcd_keyframes.c
SRC += $(VISUALIZER_DIR)/lcd_backlight_keyframes.c
SRC += $(VISUALIZER_DIR)/lcd_keyframes.c
ifeq ($(strip $(LCD_BACKLIGHT_ENABLE)), yes)
OPT_DEFS += -DLCD_BACKLIGHT_ENABLE
SRC += $(VISUALIZER_DIR)/lcd_backlight.c
SRC += $(VISUALIZER_DIR)/lcd_backlight_keyframes.c
endif
# Note, that the linker will strip out any resources that are not actually in use
SRC += $(VISUALIZER_DIR)/resources/lcd_logo.c
OPT_DEFS += -DLCD_BACKLIGHT_ENABLE
$(eval $(call ADD_DRIVER,LCD))
endif