Parcourir la source

Build lcd_backlight_hal_emulator.c

When the emulator is set, instead of the lcd_backlight_hal.c file.
Fred Sundvik il y a 9 ans
Parent
commit
15300cb681
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      visualizer.mk

+ 2 - 0
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