From 55591fd55bf67a2bd24548dc446ce749b4ec8882 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Mon, 22 Aug 2022 13:17:29 +0200 Subject: [PATCH] Added version 1.0 to USB device version. Signed-off-by: Pol Henarejos --- firmware/pico_rng.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/pico_rng.h b/firmware/pico_rng.h index 5d677dd..2aba4b7 100644 --- a/firmware/pico_rng.h +++ b/firmware/pico_rng.h @@ -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