Unverified Commit c1cd0d87 authored by Earle F. Philhower, III's avatar Earle F. Philhower, III Committed by GitHub

Merge pull request #9 from earlephilhower/tocdc

Use CDC class for the USB serial port
parents f34dcac1 058e9e24
......@@ -64,7 +64,7 @@ static const tusb_desc_device_t usbd_desc_device = {
.bLength = sizeof(tusb_desc_device_t),
.bDescriptorType = TUSB_DESC_DEVICE,
.bcdUSB = 0x0200,
.bDeviceClass = TUSB_CLASS_MISC,
.bDeviceClass = TUSB_CLASS_CDC,
.bDeviceSubClass = MISC_SUBCLASS_COMMON,
.bDeviceProtocol = MISC_PROTOCOL_IAD,
.bMaxPacketSize0 = CFG_TUD_ENDPOINT0_SIZE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment