summaryrefslogtreecommitdiff
path: root/shared/serial_parse.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-25 16:30:21 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-25 16:30:21 +0200
commit9cd83d662849fe72c83038a018107d9bbf5c2398 (patch)
treeaeae2f79b63f09eebbb72e56bee0facbad34fb1d /shared/serial_parse.h
parent4f0718caefa7f7a1baf02997fec0b448d0d6615a (diff)
WIP serial parsing
Diffstat (limited to 'shared/serial_parse.h')
-rw-r--r--shared/serial_parse.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/shared/serial_parse.h b/shared/serial_parse.h
new file mode 100644
index 0000000..516bf8a
--- /dev/null
+++ b/shared/serial_parse.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include <stdint.h>
+
+#include "protocol.h"
+
+/** parse serial data byte by byte */
+void w2_serial_parse(uint8_t byte);
+