update tinyusb core to commit 0328bd4c134d05b4bb0472e0db918153f4dd15dd

also set string descriptor for Serial CDC
This commit is contained in:
hathach 2020-09-15 19:41:28 +07:00
parent bdf5ac8117
commit a0d7cfdebc
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit 238a5c0b95fcd402d24524c7bebbdd822168a51e Subproject commit 3029f04274a6b23670e2028238166adca4a0e7c4

View file

@ -77,7 +77,8 @@ void Adafruit_TinyUSB_Core_init(void)
serial1_printf("TinyUSB debugging with Serial1\n"); serial1_printf("TinyUSB debugging with Serial1\n");
#endif #endif
USBDevice.addInterface( (Adafruit_USBD_Interface&) Serial); Serial.setStringDescriptor("TinyUSB Serial");
USBDevice.addInterface(Serial);
USBDevice.setID(USB_VID, USB_PID); USBDevice.setID(USB_VID, USB_PID);
USBDevice.begin(); USBDevice.begin();