Use USB VCP as a normal serial driver as well

This commit is contained in:
Raphael Coeffic
2022-03-20 16:22:14 +01:00
parent 530d395204
commit b39baa2360
37 changed files with 357 additions and 248 deletions
+4 -3
View File
@@ -747,9 +747,10 @@ void rtcSetTime(const struct gtm * t)
}
#if defined(USB_SERIAL)
void usbSerialPutc(uint8_t c)
{
}
const etx_serial_port_t UsbSerialPort = {
nullptr,
nullptr,
};
#endif
const etx_serial_port_t* auxSerialGetPort(int port_nr) { return nullptr; }