X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/b9b03aadb219d06fbad9d110e508db93e45461af..b221e7d175e4b5ca463fdd6d05b8c3fc71bd7c40:/Demos/Device/ClassDriver/Joystick/Descriptors.h diff --git a/Demos/Device/ClassDriver/Joystick/Descriptors.h b/Demos/Device/ClassDriver/Joystick/Descriptors.h index 1241ad14e..aaee98232 100644 --- a/Demos/Device/ClassDriver/Joystick/Descriptors.h +++ b/Demos/Device/ClassDriver/Joystick/Descriptors.h @@ -40,7 +40,7 @@ #include #include - #include + #include /* Type Defines: */ /** Type define for the device configuration descriptor structure. This must be defined in the @@ -51,10 +51,10 @@ { USB_Descriptor_Configuration_Header_t Config; USB_Descriptor_Interface_t Interface; - USB_Descriptor_HID_t JoystickHID; + USB_HID_Descriptor_t JoystickHID; USB_Descriptor_Endpoint_t JoystickEndpoint; } USB_Descriptor_Configuration_t; - + /* Macros: */ /** Endpoint number of the Joystick HID reporting IN endpoint. */ #define JOYSTICK_EPNUM 1 @@ -64,6 +64,6 @@ /* Function Prototypes: */ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress) - ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3); + ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3); #endif