From: flabbergast Date: Thu, 10 Sep 2015 09:30:49 +0000 (+0100) Subject: Move AVR specific sleep_led.c into avr. X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=7d4f3dd5a148f922007f321a0bb61a571d5bbbc9;p=max%2Ftmk_keyboard.git Move AVR specific sleep_led.c into avr. --- diff --git a/tmk_core/common.mk b/tmk_core/common.mk index f5a464d0..159183a2 100644 --- a/tmk_core/common.mk +++ b/tmk_core/common.mk @@ -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 diff --git a/tmk_core/common/sleep_led.c b/tmk_core/common/avr/sleep_led.c similarity index 100% rename from tmk_core/common/sleep_led.c rename to tmk_core/common/avr/sleep_led.c diff --git a/tmk_core/tool/chibios/common.mk b/tmk_core/tool/chibios/common.mk index 0e9935dc..f0d39f31 100644 --- a/tmk_core/tool/chibios/common.mk +++ b/tmk_core/tool/chibios/common.mk @@ -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 diff --git a/tmk_core/tool/mbed/common.mk b/tmk_core/tool/mbed/common.mk index 77bf7c3e..a0aa8717 100644 --- a/tmk_core/tool/mbed/common.mk +++ b/tmk_core/tool/mbed/common.mk @@ -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