Oops - fix Host mode pre-enumeration settle delay being ignored leading to failure to enumerate certain devices.

pull/1469/head
Dean Camera 15 years ago
parent d6e3259f8b
commit a925407588

@ -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();

Loading…
Cancel
Save