diff options
author | Olivier <olivier@gid0.org> | 2016-08-25 00:11:37 +0200 |
---|---|---|
committer | Olivier <olivier@gid0.org> | 2016-08-25 00:11:37 +0200 |
commit | 73d2a470eed73a1ba28520343bd1cfc81498d183 (patch) | |
tree | f9b680f9833f11984aacd336f8d22745dc4fad02 /tmk_core/common/virtser.h | |
parent | b5172e3afab515b1f93cd09c51b4c6c1b5174dc7 (diff) | |
parent | ad206155aa6f87de3fb9f0aefe60685ec12905a8 (diff) |
Merge https://github.com/jackhumbert/qmk_firmware
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 |