aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
authorGravatar tmk <nobody@nowhere>2013-03-15 22:22:57 +0900
committerGravatar tmk <nobody@nowhere>2013-03-16 17:24:05 +0900
commitf0c5f1b910ecf9536e5b95cc4ca9a43b0f4b2c36 (patch)
treef68e720804c1c82109c1de19dc3cc7d9eb2cabf0 /common.mk
parent42f6ff088652827a82474c3a07f4c2c9497bacd9 (diff)
downloadqmk_firmware-f0c5f1b910ecf9536e5b95cc4ca9a43b0f4b2c36.tar.gz
Add breathing sleep LED during USB suspend
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index f9faf2f95..4054893b4 100644
--- a/common.mk
+++ b/common.mk
@@ -47,5 +47,11 @@ ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
OPT_DEFS += -DMOUSE_ENABLE
endif
+ifdef SLEEP_LED_ENABLE
+ SRC += $(COMMON_DIR)/sleep_led.c
+ OPT_DEFS += -DSLEEP_LED_ENABLE
+endif
+
+
# Search Path
VPATH += $(TOP_DIR)/common