Skip to content

Commit 7b57de6

Browse files
authored
Merge pull request #578 from adafruit/update-tinyusb-core
update tinyusb core
2 parents fb2b28b + 0614a4a commit 7b57de6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cores/nRF5/TinyUSB/Adafruit_TinyUSB_nRF.cpp

+2-1
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)