Fixed MIDI_Host_Flush() not aborting early when the specified MIDI host interface...
[pub/USBasp.git] / Demos / Device / LowLevel / Joystick / Descriptors.h
index a3144c4..ee828fd 100644 (file)
                                        
        /* Macros: */
                /** Endpoint number of the Joystick HID reporting IN endpoint. */
-               #define JOYSTICK_EPNUM               1
+               #define JOYSTICK_EPNUM            1
 
                /** Size in bytes of the Joystick HID reporting IN endpoint. */
-               #define JOYSTICK_EPSIZE              8
+               #define JOYSTICK_EPSIZE           8
 
                /** Descriptor header type value, to indicate a HID class HID descriptor. */
                #define DTYPE_HID                 0x21
@@ -87,7 +87,9 @@
                #define DTYPE_Report              0x22
 
        /* 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);
+               uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
+                                                   const uint8_t wIndex,
+                                                   const void** const DescriptorAddress)
+                                                   ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);
 
 #endif