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

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

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

endif endif


ifdef SLEEP_LED_ENABLE 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 += -DSLEEP_LED_ENABLE
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
endif endif

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



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

Loading…
Cancel
Save