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,