Browse Source

Move AVR specific sleep_led.c into avr.

tags/v2.9
flabbergast 8 years ago
parent
commit
7d4f3dd5a1

+ 1
- 1
tmk_core/common.mk View File

@@ -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

tmk_core/common/sleep_led.c → tmk_core/common/avr/sleep_led.c View File


+ 1
- 2
tmk_core/tool/chibios/common.mk View File

@@ -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

+ 1
- 1
tmk_core/tool/mbed/common.mk View File

@@ -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

Loading…
Cancel
Save