summaryrefslogtreecommitdiff
path: root/examples/device/msc_dual_lun
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-05-02 13:27:00 +0700
committerhathach <[email protected]>2019-05-02 13:27:00 +0700
commit353d415d3fb569c85bcaf5d3658c40e1a3784a68 (patch)
tree5507ecc21253e923fb1dc3dfe2ac444f5b071cae /examples/device/msc_dual_lun
parent1c0ec61aa1f7ea87dabe330036c0f4d59b629a5b (diff)
clean up
Diffstat (limited to 'examples/device/msc_dual_lun')
-rw-r--r--examples/device/msc_dual_lun/src/usb_descriptors.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/device/msc_dual_lun/src/usb_descriptors.c b/examples/device/msc_dual_lun/src/usb_descriptors.c
index ede516eb1..b91ccb04a 100644
--- a/examples/device/msc_dual_lun/src/usb_descriptors.c
+++ b/examples/device/msc_dual_lun/src/usb_descriptors.c
@@ -43,7 +43,6 @@ tusb_desc_device_t const desc_device =
.bDeviceClass = 0x00,
.bDeviceSubClass = 0x00,
.bDeviceProtocol = 0x00,
-
.bMaxPacketSize0 = CFG_TUD_ENDOINT0_SIZE,
.idVendor = 0xCafe,
@@ -80,7 +79,7 @@ uint8_t const desc_configuration[] =
TUD_CONFIG_DESCRIPTOR(ITF_NUM_TOTAL, 0, CONFIG_TOTAL_LEN, TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP, 100),
#if CFG_TUD_MSC
- TUD_MSC_DESCRIPTOR(ITF_NUM_MSC, 5, EPNUM_MSC, 0x80 | EPNUM_MSC, 64), // highspeed 512
+ TUD_MSC_DESCRIPTOR(ITF_NUM_MSC, 0, EPNUM_MSC, 0x80 | EPNUM_MSC, 64), // highspeed 512
#endif
};