aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
authorGravatar tmk <nobody@nowhere>2013-03-25 01:46:32 +0900
committerGravatar tmk <nobody@nowhere>2013-03-25 01:46:32 +0900
commit2c0bb5e7e620b0472f110d2cbc5768bb6d97eec5 (patch)
treeb29845f872204470a011264ac5e5d7b6471cbfc5 /common.mk
parent1f19176867b1b1f760c0ec41cd78fbb6832d29ad (diff)
downloadqmk_firmware-2c0bb5e7e620b0472f110d2cbc5768bb6d97eec5.tar.gz
Add common/suspend.c
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index de1c6c360..fa31b3c46 100644
--- a/common.mk
+++ b/common.mk
@@ -10,6 +10,7 @@ SRC += $(COMMON_DIR)/host.c \
$(COMMON_DIR)/print.c \
$(COMMON_DIR)/debug.c \
$(COMMON_DIR)/bootloader.c \
+ $(COMMON_DIR)/suspend.c \
$(COMMON_DIR)/util.c
@@ -58,6 +59,7 @@ endif
ifdef SLEEP_LED_ENABLE
SRC += $(COMMON_DIR)/sleep_led.c
OPT_DEFS += -DSLEEP_LED_ENABLE
+ OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
endif