summaryrefslogtreecommitdiff
path: root/tmk_core/common/virtser.h
diff options
context:
space:
mode:
authordbroqua <dbroqua@mousur.org>2016-08-23 20:39:01 +0200
committerdbroqua <dbroqua@mousur.org>2016-08-23 20:39:01 +0200
commitd19c0d46d9264d6914cdfb5cc3a6eef44ead19bb (patch)
treea2eec544ff8d979a7d0b7f535af184d2c322994c /tmk_core/common/virtser.h
parente65252d591b88f3c108d40ea5eeda9d561bc237c (diff)
parenta9205484718ab2a74bc97884a2ea7b95882ed66d (diff)
downloadqmk_firmware-d19c0d46d9264d6914cdfb5cc3a6eef44ead19bb.tar.gz
qmk_firmware-d19c0d46d9264d6914cdfb5cc3a6eef44ead19bb.zip
Merge remote-tracking branch 'upstream/master'
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