Add missing virtser_init() to ChibiOS code (#15356)
This commit is contained in:
parent
04cad4582e
commit
ed49dbeac4
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue