summaryrefslogtreecommitdiff
path: root/openpcd/firmware/src/os/led.h
diff options
context:
space:
mode:
Diffstat (limited to 'openpcd/firmware/src/os/led.h')
-rw-r--r--openpcd/firmware/src/os/led.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/openpcd/firmware/src/os/led.h b/openpcd/firmware/src/os/led.h
new file mode 100644
index 0000000..394107b
--- /dev/null
+++ b/openpcd/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