aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/common/sleep_led.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/sleep_led.h')
-rw-r--r--tmk_core/common/sleep_led.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/tmk_core/common/sleep_led.h b/tmk_core/common/sleep_led.h
new file mode 100644
index 000000000..6bdcf558a
--- /dev/null
+++ b/tmk_core/common/sleep_led.h
@@ -0,0 +1,21 @@
+#ifndef SLEEP_LED_H
+#define SLEEP_LED_H
+
+
+#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