summaryrefslogtreecommitdiff
path: root/firmware/src/os/led.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/src/os/led.h')
-rw-r--r--firmware/src/os/led.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/src/os/led.h b/firmware/src/os/led.h
new file mode 100644
index 0000000..394107b
--- /dev/null
+++ b/firmware/src/os/led.h
@@ -0,0 +1,9 @@
+#ifndef _LED_H
+#define _LED_H
+
+extern void led_init(void);
+extern void led_switch(int led, int on);
+extern int led_get(int led);
+extern int led_toggle(int led);
+
+#endif
personal git repositories of Harald Welte. Your mileage may vary