aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/HostChapter9.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-04-14 08:35:47 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-04-14 08:35:47 +0000
commit6a5a37d7d141f109dc02d0bb6d8f4757b533408d (patch)
tree6ec5a4528b25d8531d508348caa8f297d3aa5b1d /LUFA/Drivers/USB/LowLevel/HostChapter9.c
parentfea5d085122bb386f1ec293b2e51036e29c7dc30 (diff)
downloadlufa-6a5a37d7d141f109dc02d0bb6d8f4757b533408d.tar.gz
lufa-6a5a37d7d141f109dc02d0bb6d8f4757b533408d.tar.bz2
lufa-6a5a37d7d141f109dc02d0bb6d8f4757b533408d.zip
The USB_Host_SendControlRequest() function no longer automatically selects the Control pipe (pipe 0), so that other control type pipes can be used with the function.
The USB Host management task now saves and restores the currently selected pipe before and after the task completes.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/HostChapter9.c')
-rw-r--r--LUFA/Drivers/USB/LowLevel/HostChapter9.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/HostChapter9.c b/LUFA/Drivers/USB/LowLevel/HostChapter9.c
index 123a1d25f..5367c984c 100644
--- a/LUFA/Drivers/USB/LowLevel/HostChapter9.c
+++ b/LUFA/Drivers/USB/LowLevel/HostChapter9.c
@@ -50,7 +50,6 @@ uint8_t USB_Host_SendControlRequest(void* BufferPtr)
if ((ReturnStatus = USB_Host_WaitMS(1)) != HOST_WAITERROR_Successful)
return ReturnStatus;
- Pipe_SelectPipe(PIPE_CONTROLPIPE);
Pipe_SetToken(PIPE_TOKEN_SETUP);
Pipe_ClearErrorFlags();
Pipe_ClearSetupSent();