Skip to content

Commit 0614a4a

Browse files
committed
update tinyusb core
- update tinyusb core to commit e7b892095f2bb5d8bef6a748238369bdd268ed5e - Get String Descriptor support for interface - Get line conding API for cdc
1 parent fb2b28b commit 0614a4a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cores/nRF5/TinyUSB/Adafruit_TinyUSB_nRF.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ static void usb_device_task(void* param)
9090
{
9191
(void) param;
9292

93-
USBDevice.addInterface((Adafruit_USBD_Interface&) Serial);
93+
Serial.setStringDescriptor("TinyUSB Serial");
94+
USBDevice.addInterface(Serial);
9495
USBDevice.setID(USB_VID, USB_PID);
9596
USBDevice.begin();
9697

0 commit comments

Comments
 (0)