aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/HighLevel/USBTask.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-05-04 12:55:00 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-05-04 12:55:00 +0000
commit253deb996f321c59c102a64e17f95d0b5b0a0e6d (patch)
tree4622defda93d203a3d07760ee33e69d68139067b /LUFA/Drivers/USB/HighLevel/USBTask.c
parentedcfaf7716c978a29ffd082f77587b21bea7a344 (diff)
downloadlufa-253deb996f321c59c102a64e17f95d0b5b0a0e6d.tar.gz
lufa-253deb996f321c59c102a64e17f95d0b5b0a0e6d.tar.bz2
lufa-253deb996f321c59c102a64e17f95d0b5b0a0e6d.zip
Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent problems with faulty devices which do not respect the given wLength value when reading in the device descriptor.
Further documentation improvements - removed file view from the main library documentation, replaced file references in the documentation with group references.
Diffstat (limited to 'LUFA/Drivers/USB/HighLevel/USBTask.c')
-rw-r--r--LUFA/Drivers/USB/HighLevel/USBTask.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/USBTask.c b/LUFA/Drivers/USB/HighLevel/USBTask.c
index aa04c56ba..738dc1592 100644
--- a/LUFA/Drivers/USB/HighLevel/USBTask.c
+++ b/LUFA/Drivers/USB/HighLevel/USBTask.c
@@ -157,7 +157,7 @@ static void USB_HostTask(void)
break;
case HOST_STATE_Powered:
Pipe_ConfigurePipe(PIPE_CONTROLPIPE, EP_TYPE_CONTROL,
- PIPE_TOKEN_SETUP, PIPE_CONTROLPIPE,
+ PIPE_TOKEN_SETUP, ENDPOINT_CONTROLEP,
PIPE_CONTROLPIPE_DEFAULT_SIZE, PIPE_BANK_SINGLE);
if (!(Pipe_IsConfigured()))
@@ -203,7 +203,7 @@ static void USB_HostTask(void)
Pipe_ResetPipe(PIPE_CONTROLPIPE);
Pipe_ConfigurePipe(PIPE_CONTROLPIPE, EP_TYPE_CONTROL,
- PIPE_TOKEN_SETUP, PIPE_CONTROLPIPE,
+ PIPE_TOKEN_SETUP, ENDPOINT_CONTROLEP,
USB_ControlPipeSize, PIPE_BANK_SINGLE);
if (!(Pipe_IsConfigured()))