Skip to content

Commit

Permalink
Add missing virtser_init() to ChibiOS code (#15356)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Nov 30, 2021
1 parent 04cad45 commit ed49dbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tmk_core/protocol/chibios/usb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ed49dbe

Please sign in to comment.