aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/Joystick/Joystick.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-04-21 06:05:50 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-04-21 06:05:50 +0000
commite5e7eaee7af719cee00a8c2cb6fb4649dde0aa05 (patch)
tree5172668936967b507e6804daeb2cb7009232a8e3 /Demos/Device/Joystick/Joystick.c
parentba7cd3f22e0ec8c2fc7fd5dae3620aa75d926fd3 (diff)
downloadlufa-e5e7eaee7af719cee00a8c2cb6fb4649dde0aa05.tar.gz
lufa-e5e7eaee7af719cee00a8c2cb6fb4649dde0aa05.tar.bz2
lufa-e5e7eaee7af719cee00a8c2cb6fb4649dde0aa05.zip
Removed specialized Endpoint_ClearControl* and Pipe_ClearControl* macros in favour of the standard Endpoint_Clear* and Pipe_Clear* macros (Atmel have confirmed no effect from setting FIFOCON on control endpoints).
Diffstat (limited to 'Demos/Device/Joystick/Joystick.c')
-rw-r--r--Demos/Device/Joystick/Joystick.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/Joystick/Joystick.c b/Demos/Device/Joystick/Joystick.c
index 60eef548e..e5d23bd6d 100644
--- a/Demos/Device/Joystick/Joystick.c
+++ b/Demos/Device/Joystick/Joystick.c
@@ -145,13 +145,13 @@ EVENT_HANDLER(USB_UnhandledControlPacket)
if (wLength > sizeof(JoystickReportData))
wLength = sizeof(JoystickReportData);
- Endpoint_ClearControlSETUP();
+ Endpoint_ClearSETUP();
/* Write the report data to the control endpoint */
Endpoint_Write_Control_Stream_LE(&JoystickReportData, wLength);
/* Finalize the stream transfer to send the last packet or clear the host abort */
- Endpoint_ClearControlOUT();
+ Endpoint_ClearOUT();
}
break;