summaryrefslogtreecommitdiffstats
path: root/common/sleep_led.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-03-24 17:46:32 +0100
committertmk <nobody@nowhere>2013-03-24 17:46:32 +0100
commit2c0bb5e7e620b0472f110d2cbc5768bb6d97eec5 (patch)
treeb29845f872204470a011264ac5e5d7b6471cbfc5 /common/sleep_led.h
parent1f19176867b1b1f760c0ec41cd78fbb6832d29ad (diff)
downloadqmk_firmware-2c0bb5e7e620b0472f110d2cbc5768bb6d97eec5.tar.gz
qmk_firmware-2c0bb5e7e620b0472f110d2cbc5768bb6d97eec5.tar.xz
Add common/suspend.c
Diffstat (limited to 'common/sleep_led.h')
-rw-r--r--common/sleep_led.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/common/sleep_led.h b/common/sleep_led.h
index aebdbeaa5..6bdcf558a 100644
--- a/common/sleep_led.h
+++ b/common/sleep_led.h
@@ -1,10 +1,21 @@
#ifndef SLEEP_LED_H
#define SLEEP_LED_H
-#define NO_SUSPEND_POWER_DOWN
+
+#ifdef SLEEP_LED_ENABLE
void sleep_led_init(void);
void sleep_led_enable(void);
void sleep_led_disable(void);
+void sleep_led_toggle(void);
+
+#else
+
+#define sleep_led_init()
+#define sleep_led_enable()
+#define sleep_led_disable()
+#define sleep_led_toggle()
+
+#endif
#endif