]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
Move AVR specific sleep_led.c into avr.
authorflabbergast <s3+flabbergast@sdfeu.org>
Thu, 10 Sep 2015 09:30:49 +0000 (10:30 +0100)
committerflabbergast <s3+flabbergast@sdfeu.org>
Thu, 10 Sep 2015 09:30:49 +0000 (10:30 +0100)
tmk_core/common.mk
tmk_core/common/avr/sleep_led.c [moved from tmk_core/common/sleep_led.c with 100% similarity]
tmk_core/tool/chibios/common.mk
tmk_core/tool/mbed/common.mk

index f5a464d02dcb0a3febbea1eefd061e8b38a1af6b..159183a267d5b2207826d640944ce83748922f00 100644 (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
index 0e9935dc7064977473dfeb40601e9cf50065b0e9..f0d39f318101c0845da871394f3b2aaaea7abcf6 100644 (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
index 77bf7c3e498fe95c12111aabaee6805cf5d2c9a9..a0aa87172cc9dc7dde4a89edb88c31c17d08eae1 100644 (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