Fixed Set/Clear Feature requests directed to a non-configured endpoint not returning...
[pub/USBasp.git] / Demos / Device / Incomplete / Sideshow / Descriptors.c
index f04b2f6..8f36cae 100644 (file)
@@ -54,7 +54,7 @@ USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
        \r
 USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =\r
 {\r
        \r
 USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =\r
 {\r
-       Config:\r
+       .Config =\r
                {\r
                        Header:                 {Size: sizeof(USB_Descriptor_Configuration_Header_t), Type: DTYPE_Configuration},\r
 \r
                {\r
                        Header:                 {Size: sizeof(USB_Descriptor_Configuration_Header_t), Type: DTYPE_Configuration},\r
 \r
@@ -69,7 +69,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
                        MaxPowerConsumption:    USB_CONFIG_POWER_MA(100)\r
                },\r
                \r
                        MaxPowerConsumption:    USB_CONFIG_POWER_MA(100)\r
                },\r
                \r
-       Interface:\r
+       .SSHOW_Interface =\r
                {\r
                        Header:                 {Size: sizeof(USB_Descriptor_Interface_t), Type: DTYPE_Interface},\r
 \r
                {\r
                        Header:                 {Size: sizeof(USB_Descriptor_Interface_t), Type: DTYPE_Interface},\r
 \r
@@ -85,7 +85,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
                        InterfaceStrIndex:      NO_DESCRIPTOR\r
                },\r
 \r
                        InterfaceStrIndex:      NO_DESCRIPTOR\r
                },\r
 \r
-       DataInEndpoint:\r
+       .SSHOW_DataInEndpoint =\r
                {\r
                        Header:                 {Size: sizeof(USB_Descriptor_Endpoint_t), Type: DTYPE_Endpoint},\r
 \r
                {\r
                        Header:                 {Size: sizeof(USB_Descriptor_Endpoint_t), Type: DTYPE_Endpoint},\r
 \r
@@ -95,7 +95,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
                        PollingIntervalMS:      0x00\r
                },\r
 \r
                        PollingIntervalMS:      0x00\r
                },\r
 \r
-       DataOutEndpoint:\r
+       .SSHOW_DataOutEndpoint =\r
                {\r
                        Header:                 {Size: sizeof(USB_Descriptor_Endpoint_t), Type: DTYPE_Endpoint},\r
 \r
                {\r
                        Header:                 {Size: sizeof(USB_Descriptor_Endpoint_t), Type: DTYPE_Endpoint},\r
 \r