Added multiple Report ID support to the HID class driver. Removed OUT endpoint suppor...
[pub/USBasp.git] / Demos / Device / GenericHID / Descriptors.c
index ca1a110..6988166 100644 (file)
@@ -119,7 +119,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
                        .InterfaceNumber        = 0x00,\r
                        .AlternateSetting       = 0x00,\r
                        \r
-                       .TotalEndpoints         = 2,\r
+                       .TotalEndpoints         = 1,\r
                                \r
                        .Class                  = 0x03,\r
                        .SubClass               = 0x00,\r
@@ -148,16 +148,6 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
                        .EndpointSize           = GENERIC_EPSIZE,\r
                        .PollingIntervalMS      = 0x02\r
                },\r
-\r
-       .GenericOUTEndpoint = \r
-               {\r
-                       .Header                 = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},\r
-                                                                                \r
-                       .EndpointAddress        = (ENDPOINT_DESCRIPTOR_DIR_OUT | GENERIC_OUT_EPNUM),\r
-                       .Attributes             = EP_TYPE_INTERRUPT,\r
-                       .EndpointSize           = GENERIC_EPSIZE,\r
-                       .PollingIntervalMS      = 0x02\r
-               }\r
 };\r
 \r
 /** Language descriptor structure. This descriptor, located in FLASH memory, is returned when the host requests\r