summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-05-17 09:51:27 +0300
committerFred Sundvik <fsundvik@gmail.com>2016-05-17 09:51:27 +0300
commit15300cb681f74672547aa5e53d165ac748d43a17 (patch)
treeed6fbb0edff133e754e878b337d4f3824e729d40
parent4e89732617454a600189242d417f5e2ba0855683 (diff)
Build lcd_backlight_hal_emulator.c
When the emulator is set, instead of the lcd_backlight_hal.c file.
-rw-r--r--visualizer.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/visualizer.mk b/visualizer.mk
index 56525ffd93..3e361491c9 100644
--- a/visualizer.mk
+++ b/visualizer.mk
@@ -34,6 +34,8 @@ ifdef LCD_BACKLIGHT_ENABLE
SRC += $(VISUALIZER_DIR)/lcd_backlight.c
ifndef EMULATOR
SRC += lcd_backlight_hal.c
+else
+SRC += lcd_backlight_hal_emulator.c
endif
UDEFS += -DLCD_BACKLIGHT_ENABLE
endif