diff options
| author | Ryan <fauxpark@gmail.com> | 2021-11-30 16:54:18 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-30 16:54:18 +1100 |
| commit | ed49dbeac4c0deba1c6b511ac1ce8f4c542e1b3e (patch) | |
| tree | e73e0052ca4038482a82f425869dd5a0cdb8d205 /tmk_core/protocol | |
| parent | 04cad4582e6c7083e87353e0fa944474ec531512 (diff) | |
| download | qmk_firmware-ed49dbeac4c0deba1c6b511ac1ce8f4c542e1b3e.tar.gz qmk_firmware-ed49dbeac4c0deba1c6b511ac1ce8f4c542e1b3e.zip | |
Add missing virtser_init() to ChibiOS code (#15356)
Diffstat (limited to 'tmk_core/protocol')
| -rw-r--r-- | tmk_core/protocol/chibios/usb_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c index a7db3e3ab..ac46a9312 100644 --- a/tmk_core/protocol/chibios/usb_main.c +++ b/tmk_core/protocol/chibios/usb_main.c | |||
| @@ -1099,6 +1099,8 @@ void midi_ep_task(void) { | |||
| 1099 | 1099 | ||
| 1100 | #ifdef VIRTSER_ENABLE | 1100 | #ifdef VIRTSER_ENABLE |
| 1101 | 1101 | ||
| 1102 | void virtser_init(void) {} | ||
| 1103 | |||
| 1102 | void virtser_send(const uint8_t byte) { chnWrite(&drivers.serial_driver.driver, &byte, 1); } | 1104 | void virtser_send(const uint8_t byte) { chnWrite(&drivers.serial_driver.driver, &byte, 1); } |
| 1103 | 1105 | ||
| 1104 | __attribute__((weak)) void virtser_recv(uint8_t c) { | 1106 | __attribute__((weak)) void virtser_recv(uint8_t c) { |
