Fixed usb descriptor

main
noah metz 2026-07-09 12:25:16 -06:00
parent 56c7e6fe8e
commit 61c912cec6
1 changed files with 3 additions and 3 deletions

@ -32,7 +32,7 @@ static const uint8_t configuration_descriptor_data[41] = {
/* Configuration Descriptor.*/ /* Configuration Descriptor.*/
USB_DESC_CONFIGURATION(41, /* wTotalLength. */ USB_DESC_CONFIGURATION(41, /* wTotalLength. */
0x01, /* bNumInterfaces. */ 0x01, /* bNumInterfaces. */
0x00, /* bConfigurationValue. */ 0x01, /* bConfigurationValue. */
0, /* iConfiguration. */ 0, /* iConfiguration. */
0xC0, /* bmAttributes (self powered). */ 0xC0, /* bmAttributes (self powered). */
50), /* bMaxPower (100mA). */ 50), /* bMaxPower (100mA). */
@ -295,8 +295,8 @@ static const USBEndpointConfig ep1config = {
NULL, NULL,
NULL, NULL,
NULL, NULL,
0x0040, 0x0020,
0x0040, 0x0020,
&ep1instate, &ep1instate,
&ep1outstate, &ep1outstate,
1, 1,