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.
This commit is contained in:
parent
edcfaf7716
commit
253deb996f
60 changed files with 127 additions and 128 deletions
|
@ -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()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue