aboutsummaryrefslogtreecommitdiff
path: root/shared/serial_parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/serial_parse.h')
-rw-r--r--shared/serial_parse.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/shared/serial_parse.h b/shared/serial_parse.h
new file mode 100644
index 0000000..a1c8fb9
--- /dev/null
+++ b/shared/serial_parse.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <stdint.h>
+
+#include "protocol.h"
+
+/** parse serial data byte by byte */
+void w2_serial_parse(uint8_t byte);