mirror of
https://github.com/polhenarejos/pico-rng.git
synced 2026-04-28 09:43:22 +02:00
Added version 1.0 to USB device version.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -63,14 +63,14 @@ static const struct usb_endpoint_descriptor ep0_in = {
|
|||||||
static const struct usb_device_descriptor device_descriptor = {
|
static const struct usb_device_descriptor device_descriptor = {
|
||||||
.bLength = sizeof(struct usb_device_descriptor),
|
.bLength = sizeof(struct usb_device_descriptor),
|
||||||
.bDescriptorType = USB_DT_DEVICE,
|
.bDescriptorType = USB_DT_DEVICE,
|
||||||
.bcdUSB = 0x0200, // USB 1.1 device
|
.bcdUSB = 0x0110, // USB 1.1 device
|
||||||
.bDeviceClass = 0, // Specified in interface descriptor
|
.bDeviceClass = 0, // Specified in interface descriptor
|
||||||
.bDeviceSubClass = 0, // No subclass
|
.bDeviceSubClass = 0, // No subclass
|
||||||
.bDeviceProtocol = 0, // No protocol
|
.bDeviceProtocol = 0, // No protocol
|
||||||
.bMaxPacketSize0 = 64, // Max packet size for ep0
|
.bMaxPacketSize0 = 64, // Max packet size for ep0
|
||||||
.idVendor = 0x0000, // Your vendor id - Choose an unregistered vendor id
|
.idVendor = 0x0000, // Your vendor id - Choose an unregistered vendor id
|
||||||
.idProduct = 0x0004, // Your product ID
|
.idProduct = 0x0004, // Your product ID
|
||||||
.bcdDevice = 0, // No device revision number
|
.bcdDevice = 0x0100, // No device revision number
|
||||||
.iManufacturer = 1, // Manufacturer string index
|
.iManufacturer = 1, // Manufacturer string index
|
||||||
.iProduct = 2, // Product string index
|
.iProduct = 2, // Product string index
|
||||||
.iSerialNumber = 0, // No serial number
|
.iSerialNumber = 0, // No serial number
|
||||||
|
|||||||
Reference in New Issue
Block a user