diff options
| author | hathach <[email protected]> | 2019-04-11 00:20:54 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-04-11 00:22:18 +0700 |
| commit | 61021831935cb6e93979cecfdd414a8d6a2219fe (patch) | |
| tree | 7ecf7c32172f8e593412bb0a8084e7f02fa62f39 /src/device | |
| parent | 64bed848d07b8de37cc94c9b64be3e92fa12739d (diff) | |
clean up
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/usbd_auto_desc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/device/usbd_auto_desc.c b/src/device/usbd_auto_desc.c index e418cd23c..4b683e354 100644 --- a/src/device/usbd_auto_desc.c +++ b/src/device/usbd_auto_desc.c @@ -43,7 +43,6 @@ #endif #ifndef CFG_TUD_DESC_PID - /* A combination of interfaces must have a unique product id, since PC will save device driver after the first plug. * Same VID/PID with different interface e.g MSC (first), then CDC (later) will possibly cause system error on PC. * @@ -484,7 +483,7 @@ desc_auto_cfg_t const _desc_auto_config_struct = .bEndpointAddress = EP_MSC_OUT, .bmAttributes = { .xfer = TUSB_XFER_BULK }, .wMaxPacketSize = { .size = EP_MSC_SIZE}, - .bInterval = 1 + .bInterval = 0 }, .ep_in = @@ -494,7 +493,7 @@ desc_auto_cfg_t const _desc_auto_config_struct = .bEndpointAddress = EP_MSC_IN, .bmAttributes = { .xfer = TUSB_XFER_BULK }, .wMaxPacketSize = { .size = EP_MSC_SIZE}, - .bInterval = 1 + .bInterval = 0 } }, #endif // msc |
