diff options
author | Callum Oakley <c.oakley108@gmail.com> | 2016-09-01 17:55:00 +0100 |
---|---|---|
committer | Callum Oakley <c.oakley108@gmail.com> | 2016-09-01 17:55:00 +0100 |
commit | 9c3193f22555119eb15f63f5ae5efe45e6d7358c (patch) | |
tree | a0dcfb3ed442c12a66b444c4c579711660c30657 /tmk_core/common/virtser.h | |
parent | 993d72b11fca8d50296570dc85e9354f8045c4a6 (diff) | |
parent | e28d151a8a1d458f3c18897c6095decc17b0c3a1 (diff) | |
download | qmk_firmware-9c3193f22555119eb15f63f5ae5efe45e6d7358c.tar.gz qmk_firmware-9c3193f22555119eb15f63f5ae5efe45e6d7358c.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tmk_core/common/virtser.h')
-rw-r--r-- | tmk_core/common/virtser.h | 10 |
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 |