summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-11-30 16:54:18 +1100
committerGitHub <noreply@github.com>2021-11-30 16:54:18 +1100
commited49dbeac4c0deba1c6b511ac1ce8f4c542e1b3e (patch)
treee73e0052ca4038482a82f425869dd5a0cdb8d205 /tmk_core
parent04cad4582e6c7083e87353e0fa944474ec531512 (diff)
downloadqmk_firmware-ed49dbeac4c0deba1c6b511ac1ce8f4c542e1b3e.tar.gz
qmk_firmware-ed49dbeac4c0deba1c6b511ac1ce8f4c542e1b3e.zip
Add missing virtser_init() to ChibiOS code (#15356)
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/protocol/chibios/usb_main.c2
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 a7db3e3ab1..ac46a9312b 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) {
#ifdef VIRTSER_ENABLE
+void virtser_init(void) {}
+
void virtser_send(const uint8_t byte) { chnWrite(&drivers.serial_driver.driver, &byte, 1); }
__attribute__((weak)) void virtser_recv(uint8_t c) {