diff options
author | Jason Green <jason@jasg.org> | 2016-08-01 05:02:52 +0000 |
---|---|---|
committer | Jason Green <jason@jasg.org> | 2016-08-23 04:16:35 +0000 |
commit | 80d10bef073e3d32149aa4a137d8016ac999dffc (patch) | |
tree | 763014f6f4484073e1c9c139f3ff9feb8189204e /tmk_core/common | |
parent | d8c5041f0a3849c96d7e0bfcf7b22e1aba98ac04 (diff) | |
download | qmk_firmware-80d10bef073e3d32149aa4a137d8016ac999dffc.tar.gz qmk_firmware-80d10bef073e3d32149aa4a137d8016ac999dffc.zip |
Added USB Virtual Serial support
Diffstat (limited to 'tmk_core/common')
-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 |