From abc3ae6a6faaba06db08e525963a5dcbd6fcba1b Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Sun, 24 Feb 2008 13:45:36 +0000 Subject: 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 --- firmware/usbstack/usb_core.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/usbstack') 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 @@ 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, -- cgit v1.2.3