aboutsummaryrefslogtreecommitdiff
path: root/quantum/virtser.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-10-28 22:31:59 +0100
committerGitHub <noreply@github.com>2021-10-28 22:31:59 +0100
commitdcfffa7b67a072f7d9e37bd8c0029c53b61aeb0f (patch)
tree65491c3878ee76f50c4b46a318503cc27fdb4a6b /quantum/virtser.h
parent0c87e2e7025140ca6105b7fec2639c78c3cd8109 (diff)
downloadqmk_firmware-dcfffa7b67a072f7d9e37bd8c0029c53b61aeb0f.tar.gz
qmk_firmware-dcfffa7b67a072f7d9e37bd8c0029c53b61aeb0f.zip
Relocate protocol files within tmk_core/common/ (#14972)
* Relocate non platform files within tmk_core/common/ * clang
Diffstat (limited to 'quantum/virtser.h')
-rw-r--r--quantum/virtser.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/quantum/virtser.h b/quantum/virtser.h
new file mode 100644
index 000000000..df7e87984
--- /dev/null
+++ b/quantum/virtser.h
@@ -0,0 +1,9 @@
1#pragma once
2
3void virtser_init(void);
4
5/* Define this function in your code to process incoming bytes */
6void virtser_recv(const uint8_t ch);
7
8/* Call this to send a character over the Virtual Serial Device */
9void virtser_send(const uint8_t byte);