Optimize vendor/product description string display code in MassStorageHost.

Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed.

Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails.

Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used.
This commit is contained in:
Dean Camera 2009-06-26 09:58:43 +00:00
parent b2cf4d3222
commit 1756087c3e
60 changed files with 51 additions and 20620 deletions

View file

@ -46,7 +46,7 @@ uint8_t USB_Host_SendControlRequest(void* BufferPtr)
USB_Host_ResumeBus();
if ((ReturnStatus = USB_Host_WaitMS(1)) != HOST_WAITERROR_Successful)
return ReturnStatus;
goto End_Of_Control_Send;
Pipe_SetToken(PIPE_TOKEN_SETUP);
Pipe_ClearErrorFlags();