diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2008-02-24 13:45:36 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2008-02-24 13:45:36 +0000 |
commit | abc3ae6a6faaba06db08e525963a5dcbd6fcba1b (patch) | |
tree | 913b77f28eed34df37b775c19606360726c6eaeb /firmware/usbstack | |
parent | 497d17de3b1b2e522055d3666f8470e3e1074da4 (diff) | |
download | rockbox-abc3ae6a6faaba06db08e525963a5dcbd6fcba1b.tar.gz rockbox-abc3ae6a6faaba06db08e525963a5dcbd6fcba1b.zip |
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
Diffstat (limited to 'firmware/usbstack')
-rw-r--r-- | firmware/usbstack/usb_core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/usbstack/usb_core.c b/firmware/usbstack/usb_core.c index 5a748bf55f..d16ada276b 100644 --- a/firmware/usbstack/usb_core.c +++ b/firmware/usbstack/usb_core.c | |||
@@ -62,7 +62,11 @@ | |||
62 | static const struct usb_device_descriptor device_descriptor= { | 62 | static const struct usb_device_descriptor device_descriptor= { |
63 | .bLength = sizeof(struct usb_device_descriptor), | 63 | .bLength = sizeof(struct usb_device_descriptor), |
64 | .bDescriptorType = USB_DT_DEVICE, | 64 | .bDescriptorType = USB_DT_DEVICE, |
65 | #ifdef USE_HIGH_SPEED | ||
65 | .bcdUSB = 0x0200, | 66 | .bcdUSB = 0x0200, |
67 | #else | ||
68 | .bcdUSB = 0x0110, | ||
69 | #endif | ||
66 | .bDeviceClass = USB_CLASS_PER_INTERFACE, | 70 | .bDeviceClass = USB_CLASS_PER_INTERFACE, |
67 | .bDeviceSubClass = 0, | 71 | .bDeviceSubClass = 0, |
68 | .bDeviceProtocol = 0, | 72 | .bDeviceProtocol = 0, |