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