diff options
| author | hathach <[email protected]> | 2019-07-11 23:08:49 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-07-11 23:08:49 +0700 |
| commit | 42d0ef6fb07ddfa868fe06b5e6d75623bc253807 (patch) | |
| tree | ed5bdda1e9a9ea2659a862ccfc985e28eabcef7e /examples | |
| parent | 38b60827e14f4f586729e0e5c9063eeac33f8129 (diff) | |
clean up midi example
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/device/midi_test/src/usb_descriptors.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/device/midi_test/src/usb_descriptors.c b/examples/device/midi_test/src/usb_descriptors.c index 192dacfbe..21270745a 100644 --- a/examples/device/midi_test/src/usb_descriptors.c +++ b/examples/device/midi_test/src/usb_descriptors.c @@ -40,11 +40,9 @@ tusb_desc_device_t const desc_device = .bLength = sizeof(tusb_desc_device_t), .bDescriptorType = TUSB_DESC_DEVICE, .bcdUSB = 0x0200, - // Use Interface Association Descriptor (IAD) for Audio - // As required by USB Specs IAD's subclass must be common class (2) and protocol must be IAD (1) - .bDeviceClass = TUSB_CLASS_MISC, - .bDeviceSubClass = MISC_SUBCLASS_COMMON, - .bDeviceProtocol = MISC_PROTOCOL_IAD, + .bDeviceClass = 0x00, + .bDeviceSubClass = 0x00, + .bDeviceProtocol = 0x00, .bMaxPacketSize0 = CFG_TUD_ENDOINT0_SIZE, .idVendor = 0xCafe, |
