From 61c912cec6c1f08734e842ca108de2e88debecd5 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Thu, 9 Jul 2026 12:25:16 -0600 Subject: [PATCH] Fixed usb descriptor --- source/usbcfg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/usbcfg.c b/source/usbcfg.c index e5deaf8..1793e51 100644 --- a/source/usbcfg.c +++ b/source/usbcfg.c @@ -32,7 +32,7 @@ static const uint8_t configuration_descriptor_data[41] = { /* Configuration Descriptor.*/ USB_DESC_CONFIGURATION(41, /* wTotalLength. */ 0x01, /* bNumInterfaces. */ - 0x00, /* bConfigurationValue. */ + 0x01, /* bConfigurationValue. */ 0, /* iConfiguration. */ 0xC0, /* bmAttributes (self powered). */ 50), /* bMaxPower (100mA). */ @@ -295,8 +295,8 @@ static const USBEndpointConfig ep1config = { NULL, NULL, NULL, - 0x0040, - 0x0040, + 0x0020, + 0x0020, &ep1instate, &ep1outstate, 1,