projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing...
[pub/lufa.git]
/
Demos
/
Host
/
LowLevel
/
JoystickHostWithParser
/
JoystickHostWithParser.c
diff --git
a/Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.c
b/Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.c
index
b38fcf0
..
ccc1d68
100644
(file)
--- a/
Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.c
+++ b/
Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.c
@@
-99,7
+99,7
@@
void EVENT_USB_Host_DeviceUnattached(void)
void EVENT_USB_Host_DeviceEnumerationComplete(void)
{
puts_P(PSTR("Getting Config Data.\r\n"));
void EVENT_USB_Host_DeviceEnumerationComplete(void)
{
puts_P(PSTR("Getting Config Data.\r\n"));
-
+
uint8_t ErrorCode;
/* Get and process the configuration descriptor data */
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;
{
if (USB_HostState != HOST_STATE_Configured)
return;
-
+
/* Select and unfreeze joystick data pipe */
Pipe_SelectPipe(JOYSTICK_DATA_IN_PIPE);
Pipe_Unfreeze();
/* 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);
}
/* Display the button information on the board LEDs */
LEDs_SetAllLEDs(LEDMask);
}
+