summaryrefslogtreecommitdiff
path: root/tmk_core/common/virtser.h
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-08-23 20:53:21 -0500
committerIBNobody <ibnobody@gmail.com>2016-08-23 20:53:21 -0500
commit5d685efa499e833c4a8215a18562b2d0c4a21f2f (patch)
treeb2a325a44338e1a083b38e089aa94e887141e3b4 /tmk_core/common/virtser.h
parent705c775a4a433249081321cea0c2def2627817dc (diff)
parent9263ade0fbdde6431fb5c7f26970754c5c7c2963 (diff)
Merge remote-tracking branch 'refs/remotes/origin/master' into vision_division_dev
Diffstat (limited to 'tmk_core/common/virtser.h')
-rw-r--r--tmk_core/common/virtser.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tmk_core/common/virtser.h b/tmk_core/common/virtser.h
new file mode 100644
index 0000000000..74891b6ae0
--- /dev/null
+++ b/tmk_core/common/virtser.h
@@ -0,0 +1,10 @@
+#ifndef _VIRTSER_H_
+#define _VIRTSER_H_
+
+/* Define this function in your code to process incoming bytes */
+void virtser_recv(const uint8_t ch);
+
+/* Call this to send a character over the Virtual Serial Device */
+void virtser_send(const uint8_t byte);
+
+#endif