Move AVR specific sleep_led.c into avr.
This commit is contained in:
parent
5248511209
commit
7d4f3dd5a1
@ -54,7 +54,7 @@ ifdef USB_6KRO_ENABLE
|
||||
endif
|
||||
|
||||
ifdef SLEEP_LED_ENABLE
|
||||
SRC += $(COMMON_DIR)/sleep_led.c
|
||||
SRC += $(COMMON_DIR)/avr/sleep_led.c
|
||||
OPT_DEFS += -DSLEEP_LED_ENABLE
|
||||
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
|
||||
endif
|
||||
|
@ -55,8 +55,7 @@ ifdef USB_6KRO_ENABLE
|
||||
endif
|
||||
|
||||
ifdef SLEEP_LED_ENABLE
|
||||
$(error Sleep LED Not Supported)
|
||||
SRC += $(COMMON_DIR)/sleep_led.c
|
||||
SRC += $(COMMON_DIR)/chibios/sleep_led.c
|
||||
OPT_DEFS += -DSLEEP_LED_ENABLE
|
||||
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
|
||||
endif
|
||||
|
@ -63,7 +63,7 @@ endif
|
||||
|
||||
ifdef SLEEP_LED_ENABLE
|
||||
$(error Not Supported)
|
||||
SRC += common/sleep_led.c
|
||||
SRC += common/mbed/sleep_led.c
|
||||
OPT_DEFS += -DSLEEP_LED_ENABLE
|
||||
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
|
||||
endif
|
||||
|
Reference in New Issue
Block a user