diff options
| author | hathach <[email protected]> | 2019-05-15 16:17:46 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-05-15 16:17:46 +0700 |
| commit | 9863230a8d38ddefe6cb421c8bc7417abfdf724f (patch) | |
| tree | a07a7cdd03e40575693b3dcf068fbfa7d50099fd /examples | |
| parent | 2d58f3118e4dff3760f4c563f351dc0f02738770 (diff) | |
update button for mcb1800
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/device/cdc_msc_hid/src/usb_descriptors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/cdc_msc_hid/src/usb_descriptors.c b/examples/device/cdc_msc_hid/src/usb_descriptors.c index 313d6e822..8cd6062be 100644 --- a/examples/device/cdc_msc_hid/src/usb_descriptors.c +++ b/examples/device/cdc_msc_hid/src/usb_descriptors.c @@ -136,7 +136,7 @@ uint8_t const desc_configuration[] = #if CFG_TUD_MSC // Interface number, string index, EP Out & EP In address, EP size - TUD_MSC_DESCRIPTOR(ITF_NUM_MSC, 5, EPNUM_MSC, 0x80 | EPNUM_MSC, 64), // highspeed 512 + TUD_MSC_DESCRIPTOR(ITF_NUM_MSC, 5, EPNUM_MSC, 0x80 | EPNUM_MSC, (CFG_TUSB_RHPORT0_MODE & OPT_MODE_HIGH_SPEED) ? 512 : 64), #endif #if CFG_TUD_HID |
