Fixed Set/Clear Feature requests directed to a non-configured endpoint not returning...
[pub/USBasp.git] / Demos / Device / Incomplete / Sideshow / Descriptors.c
index 8354ebd..8f36cae 100644 (file)
@@ -1,13 +1,13 @@
 /*\r
              LUFA Library\r
 /*\r
              LUFA Library\r
-     Copyright (C) Dean Camera, 2009.\r
+     Copyright (C) Dean Camera, 2010.\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
       www.fourwalledcubicle.com\r
 */\r
 \r
 /*\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
       www.fourwalledcubicle.com\r
 */\r
 \r
 /*\r
-  Copyright 2009  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
@@ -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