summaryrefslogtreecommitdiffstats
path: root/platforms/sleep_led.h
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/sleep_led.h')
-rw-r--r--platforms/sleep_led.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/platforms/sleep_led.h b/platforms/sleep_led.h
new file mode 100644
index 0000000000..38f80a660d
--- /dev/null
+++ b/platforms/sleep_led.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#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