aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/HostChapter9.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 /LUFA/Drivers/USB/LowLevel/HostChapter9.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 'LUFA/Drivers/USB/LowLevel/HostChapter9.c')
-rw-r--r--LUFA/Drivers/USB/LowLevel/HostChapter9.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/HostChapter9.c b/LUFA/Drivers/USB/LowLevel/HostChapter9.c
index c89910e63..dfc3f4483 100644
--- a/LUFA/Drivers/USB/LowLevel/HostChapter9.c
+++ b/LUFA/Drivers/USB/LowLevel/HostChapter9.c
@@ -58,7 +58,7 @@ uint8_t USB_Host_SendControlRequest(void* BufferPtr)
for (uint8_t HeaderByte = 0; HeaderByte < sizeof(USB_Host_Request_Header_t); HeaderByte++)
Pipe_Write_Byte(*(HeaderStream++));
- Pipe_ClearControlSETUP();
+ Pipe_ClearSETUP();
if ((ReturnStatus = USB_Host_Wait_For_Setup_IOS(USB_HOST_WAITFOR_SetupSent)))
goto End_Of_Control_Send;
@@ -91,7 +91,7 @@ uint8_t USB_Host_SendControlRequest(void* BufferPtr)
}
Pipe_Freeze();
- Pipe_ClearControlIN();
+ Pipe_ClearIN();
}
}
@@ -101,7 +101,7 @@ uint8_t USB_Host_SendControlRequest(void* BufferPtr)
if ((ReturnStatus = USB_Host_Wait_For_Setup_IOS(USB_HOST_WAITFOR_OutReady)))
goto End_Of_Control_Send;
- Pipe_ClearControlOUT();
+ Pipe_ClearOUT();
if ((ReturnStatus = USB_Host_Wait_For_Setup_IOS(USB_HOST_WAITFOR_OutReady)))
goto End_Of_Control_Send;
@@ -124,7 +124,7 @@ uint8_t USB_Host_SendControlRequest(void* BufferPtr)
DataLen--;
}
- Pipe_ClearControlOUT();
+ Pipe_ClearOUT();
}
if ((ReturnStatus = USB_Host_Wait_For_Setup_IOS(USB_HOST_WAITFOR_OutReady)))
@@ -139,7 +139,7 @@ uint8_t USB_Host_SendControlRequest(void* BufferPtr)
if ((ReturnStatus = USB_Host_Wait_For_Setup_IOS(USB_HOST_WAITFOR_InReceived)))
goto End_Of_Control_Send;
- Pipe_ClearControlIN();
+ Pipe_ClearIN();
}
End_Of_Control_Send: