X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/137ce280c1e9c33e9393f1dfd6bb160c131bd1a4..0da99447d3e88e83f9977501bee56af5c7aa56c0:/Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.c diff --git a/Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.c b/Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.c index b38fcf07f..fda1fd903 100644 --- a/Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.c +++ b/Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2011. + Copyright (C) Dean Camera, 2012. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -99,7 +99,7 @@ void EVENT_USB_Host_DeviceUnattached(void) void EVENT_USB_Host_DeviceEnumerationComplete(void) { puts_P(PSTR("Getting Config Data.\r\n")); - + uint8_t ErrorCode; /* Get and process the configuration descriptor data */ @@ -179,7 +179,7 @@ void JoystickHost_Task(void) { if (USB_HostState != HOST_STATE_Configured) return; - + /* Select and unfreeze joystick data pipe */ Pipe_SelectPipe(JOYSTICK_DATA_IN_PIPE); Pipe_Unfreeze(); @@ -268,3 +268,4 @@ void ProcessJoystickReport(uint8_t* JoystickReport) /* Display the button information on the board LEDs */ LEDs_SetAllLEDs(LEDMask); } +