Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction on the...
[pub/USBasp.git] / Demos / Host / LowLevel / JoystickHostWithParser / JoystickHostWithParser.h
index cf6369b..5f34dba 100644 (file)
@@ -54,9 +54,6 @@
                #include "HIDReport.h"
 
        /* Macros: */
-               /** Pipe number for the joystick report data pipe. */
-               #define JOYSTICK_DATAPIPE         1
-
                /** LED mask for the library LED driver, to indicate that the USB interface is not ready. */
                #define LEDMASK_USB_NOTREADY      LEDS_LED1
 
@@ -76,7 +73,8 @@
                void EVENT_USB_Host_HostError(const uint8_t ErrorCode);
                void EVENT_USB_Host_DeviceAttached(void);
                void EVENT_USB_Host_DeviceUnattached(void);
-               void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode);
+               void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode,
+                                                           const uint8_t SubErrorCode);
                void EVENT_USB_Host_DeviceEnumerationComplete(void);
 
                void ProcessJoystickReport(uint8_t* JoystickReport);