Standardized the naming scheme given to configuration descriptor sub-elements in...
[pub/USBasp.git] / Demos / Device / ClassDriver / Joystick / Descriptors.h
index b2edc85..1777a56 100644 (file)
@@ -50,9 +50,9 @@
                typedef struct\r
                {\r
                        USB_Descriptor_Configuration_Header_t Config;\r
-                       USB_Descriptor_Interface_t            Interface;\r
-                       USB_HID_Descriptor_t                  JoystickHID;\r
-               USB_Descriptor_Endpoint_t             JoystickEndpoint;\r
+                       USB_Descriptor_Interface_t            HID_Interface;\r
+                       USB_HID_Descriptor_t                  HID_JoystickHID;\r
+               USB_Descriptor_Endpoint_t             HID_ReportINEndpoint;\r
                } USB_Descriptor_Configuration_t;\r
 \r
        /* Macros: */\r