summaryrefslogtreecommitdiff
path: root/firmware/src/os/blinkcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/src/os/blinkcode.h')
-rw-r--r--firmware/src/os/blinkcode.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/firmware/src/os/blinkcode.h b/firmware/src/os/blinkcode.h
new file mode 100644
index 0000000..142c148
--- /dev/null
+++ b/firmware/src/os/blinkcode.h
@@ -0,0 +1,14 @@
+#ifndef _BLINKCODE_H
+#define _BLINKCODE_H
+
+enum blinkcode_num {
+ BLINKCODE_NONE,
+ BLINKCODE_IDLE,
+ BLINKCODE_DFU_MODE,
+ BLINKCODE_DFU_PROBLEM,
+ BLINKCODE_
+};
+
+extern void blinkcode_set(int led, enum blinkcode_num);
+extern void blinkcode_init(void);
+#endif
personal git repositories of Harald Welte. Your mileage may vary