Commit a9254075 authored by Dean Camera's avatar Dean Camera
Browse files

Oops - fix Host mode pre-enumeration settle delay being ignored leading to...

Oops - fix Host mode pre-enumeration settle delay being ignored leading to failure to enumerate certain devices.
parent d6e3259f
......@@ -66,14 +66,12 @@ void USB_Host_ProcessNextHostState(void)
USB_HostState = HOST_STATE_Powered_WaitForDeviceSettle;
break;
case HOST_STATE_Powered_WaitForDeviceSettle:
#if HOST_DEVICE_SETTLE_DELAY_MS > 0
if (!(WaitMSRemaining--))
{
_delay_ms(1);
break;
}
else
#endif
{
USB_Host_VBUS_Manual_Off();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment