1
0

Move AVR specific sleep_led.c into avr.

This commit is contained in:
flabbergast 2015-09-10 10:30:49 +01:00
parent 5248511209
commit 7d4f3dd5a1
4 changed files with 3 additions and 4 deletions

View File

@ -54,7 +54,7 @@ ifdef USB_6KRO_ENABLE
endif endif
ifdef SLEEP_LED_ENABLE ifdef SLEEP_LED_ENABLE
SRC += $(COMMON_DIR)/sleep_led.c SRC += $(COMMON_DIR)/avr/sleep_led.c
OPT_DEFS += -DSLEEP_LED_ENABLE OPT_DEFS += -DSLEEP_LED_ENABLE
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
endif endif

View File

@ -55,8 +55,7 @@ ifdef USB_6KRO_ENABLE
endif endif
ifdef SLEEP_LED_ENABLE ifdef SLEEP_LED_ENABLE
$(error Sleep LED Not Supported) SRC += $(COMMON_DIR)/chibios/sleep_led.c
SRC += $(COMMON_DIR)/sleep_led.c
OPT_DEFS += -DSLEEP_LED_ENABLE OPT_DEFS += -DSLEEP_LED_ENABLE
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
endif endif

View File

@ -63,7 +63,7 @@ endif
ifdef SLEEP_LED_ENABLE ifdef SLEEP_LED_ENABLE
$(error Not Supported) $(error Not Supported)
SRC += common/sleep_led.c SRC += common/mbed/sleep_led.c
OPT_DEFS += -DSLEEP_LED_ENABLE OPT_DEFS += -DSLEEP_LED_ENABLE
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
endif endif