diff options
| author | hathach <[email protected]> | 2019-05-15 16:20:43 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-05-15 16:20:43 +0700 |
| commit | 1491274cb42e89b73cee14e8fabb234717516e1d (patch) | |
| tree | a3efeb759692978e28b930fd8bf11692b8b3b3cc /examples | |
| parent | 9863230a8d38ddefe6cb421c8bc7417abfdf724f (diff) | |
mcb1800 work with makefile, add to travis build
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/device/msc_dual_lun/src/usb_descriptors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/msc_dual_lun/src/usb_descriptors.c b/examples/device/msc_dual_lun/src/usb_descriptors.c index 12a8f0591..24bed9ecf 100644 --- a/examples/device/msc_dual_lun/src/usb_descriptors.c +++ b/examples/device/msc_dual_lun/src/usb_descriptors.c @@ -79,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), // Interface number, string index, EP Out & EP In address, EP size - TUD_MSC_DESCRIPTOR(ITF_NUM_MSC, 0, EPNUM_MSC, 0x80 | EPNUM_MSC, 64), // highspeed 512 + TUD_MSC_DESCRIPTOR(ITF_NUM_MSC, 0, EPNUM_MSC, 0x80 | EPNUM_MSC, (CFG_TUSB_RHPORT0_MODE & OPT_MODE_HIGH_SPEED) ? 512 : 64), }; // Invoked when received GET DEVICE DESCRIPTOR |
