Added version 1.0 to USB device version.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2022-08-22 13:17:29 +02:00
parent 79d8f7e64a
commit 55591fd55b

View File

@@ -63,14 +63,14 @@ static const struct usb_endpoint_descriptor ep0_in = {
static const struct usb_device_descriptor device_descriptor = {
.bLength = sizeof(struct usb_device_descriptor),
.bDescriptorType = USB_DT_DEVICE,
.bcdUSB = 0x0200, // USB 1.1 device
.bcdUSB = 0x0110, // USB 1.1 device
.bDeviceClass = 0, // Specified in interface descriptor
.bDeviceSubClass = 0, // No subclass
.bDeviceProtocol = 0, // No protocol
.bMaxPacketSize0 = 64, // Max packet size for ep0
.idVendor = 0x0000, // Your vendor id - Choose an unregistered vendor id
.idProduct = 0x0004, // Your product ID
.bcdDevice = 0, // No device revision number
.bcdDevice = 0x0100, // No device revision number
.iManufacturer = 1, // Manufacturer string index
.iProduct = 2, // Product string index
.iSerialNumber = 0, // No serial number