summaryrefslogtreecommitdiff
path: root/visualizer.mk
diff options
context:
space:
mode:
Diffstat (limited to 'visualizer.mk')
-rw-r--r--visualizer.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/visualizer.mk b/visualizer.mk
index c5ae0dfa95..8ffc1e4aca 100644
--- a/visualizer.mk
+++ b/visualizer.mk
@@ -21,6 +21,13 @@
# SOFTWARE.
GFXLIB = $(VISUALIZER_DIR)/ugfx
+ifdef LCD_ENABLE
include $(GFXLIB)/gfx.mk
+endif
SRC += $(GFXSRC)
-INC += $(GFXINC)
+INC += $(GFXINC) $(VISUALIZER_DIR)
+
+ifdef LCD_BACKLIGHT_ENABLE
+SRC += $(VISUALIZER_DIR)/lcd_backlight.c
+SRC += lcd_backlight_hal.c
+endif