[stm32] simplify led setup

This commit is contained in:
Felix Ruess
2014-03-01 14:33:57 +01:00
parent 1cd6ae2bf6
commit c0c9622d5d
14 changed files with 12 additions and 102 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ tunnel.srcs += mcu.c \
$(SRC_ARCH)/mcu_arch.c \
$(SRC_LISA)/tunnel_hw.c
tunnel.CFLAGS += -DUSE_LED
tunnel.srcs += $(SRC_ARCH)/led_hw.c
tunnel.srcs += $(SRC_ARCH)/mcu_periph/gpio_arch.c $(SRC_ARCH)/led_hw.c
ifneq ($(SYS_TIME_LED),none)
tunnel.CFLAGS += -DSYS_TIME_LED=$(SYS_TIME_LED)
endif