Previous commit missed an unsupported-device-flash-LED check.

NOTE: Downstream's full-speed host controller is flakey when connecting
to low-speed devices. One mouse enumerates on only 50% of connection
events, while another mouse enumerates on 90% of connections. Grrr.
pull/7/head
Robert Fisk 9 years ago
parent 226e163adf
commit d643fbdf87

@ -423,7 +423,7 @@ USBH_StatusTypeDef USBH_Process(USBH_HandleTypeDef *phost)
USBH_UsrLog("USB Device Attached");
/* Wait for 100 ms after Reset */
USBH_Delay(100);
USBH_Delay(100);
phost->device.speed = USBH_LL_GetSpeed(phost);
@ -541,6 +541,7 @@ USBH_StatusTypeDef USBH_Process(USBH_HandleTypeDef *phost)
}
else
{
phost->pUser(phost, HOST_USER_CLASS_FAILED);
phost->gState = HOST_ABORT_STATE;
USBH_UsrLog ("No registered class for this device.");
}

Loading…
Cancel
Save