summaryrefslogtreecommitdiff
path: root/visualizer.mk
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-05-17 09:45:05 +0300
committerFred Sundvik <fsundvik@gmail.com>2016-05-17 09:45:05 +0300
commit4e89732617454a600189242d417f5e2ba0855683 (patch)
tree4d00e56c7e8962c43e9ae5b519144d588f93a8bc /visualizer.mk
parentd79e94adb1182ae867df0cc7621ef3d44d213bbc (diff)
Enable and fix compilation of more files
Diffstat (limited to 'visualizer.mk')
-rw-r--r--visualizer.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/visualizer.mk b/visualizer.mk
index 6788293290..56525ffd93 100644
--- a/visualizer.mk
+++ b/visualizer.mk
@@ -31,17 +31,15 @@ USE_UGFX = yes
endif
ifdef LCD_BACKLIGHT_ENABLE
-ifndef EMULATOR
SRC += $(VISUALIZER_DIR)/lcd_backlight.c
+ifndef EMULATOR
SRC += lcd_backlight_hal.c
endif
UDEFS += -DLCD_BACKLIGHT_ENABLE
endif
ifdef LED_ENABLE
-ifndef EMULATOR
SRC += $(VISUALIZER_DIR)/led_test.c
-endif
UDEFS += -DLED_ENABLE
USE_UGFX = yes
endif
@@ -54,10 +52,8 @@ ULIBS += $(patsubst %,-l%,$(patsubst -l%,%,$(GFXLIBS)))
endif
ifndef VISUALIZER_USER
-ifndef EMULATOR
VISUALIZER_USER = visualizer_user.c
endif
-endif
SRC += $(VISUALIZER_USER)
ifdef EMULATOR