Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction on the...
[pub/USBasp.git] / Demos / Host / LowLevel / JoystickHostWithParser / JoystickHostWithParser.c
index cf469ff..c7739e9 100644 (file)
@@ -211,7 +211,7 @@ void Joystick_HID_Task(void)
                        break;
                case HOST_STATE_Configured:
                        /* Select and unfreeze joystick data pipe */
                        break;
                case HOST_STATE_Configured:
                        /* Select and unfreeze joystick data pipe */
-                       Pipe_SelectPipe(JOYSTICK_DATAPIPE);     
+                       Pipe_SelectPipe(JOYSTICK_DATA_IN_PIPE); 
                        Pipe_Unfreeze();
                        
                        /* Check to see if a packet has been received */
                        Pipe_Unfreeze();
                        
                        /* Check to see if a packet has been received */