report usb 1.1 compliance if USE_HIGH_SPEED is not set. This should avoid Windows telling the user to plug in the device into a high speed port
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16406 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
497d17de3b
commit
abc3ae6a6f
1 changed files with 4 additions and 0 deletions
|
@ -62,7 +62,11 @@
|
|||
static const struct usb_device_descriptor device_descriptor= {
|
||||
.bLength = sizeof(struct usb_device_descriptor),
|
||||
.bDescriptorType = USB_DT_DEVICE,
|
||||
#ifdef USE_HIGH_SPEED
|
||||
.bcdUSB = 0x0200,
|
||||
#else
|
||||
.bcdUSB = 0x0110,
|
||||
#endif
|
||||
.bDeviceClass = USB_CLASS_PER_INTERFACE,
|
||||
.bDeviceSubClass = 0,
|
||||
.bDeviceProtocol = 0,
|
||||
|
|
Loading…
Reference in a new issue