|
|
|
@ -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,
|
|
|
|
|