keyboard->mbed->PC (mbed->SDcard)
Fork of USBHost by
Diff: USBHostHub/USBHostHub.cpp
- Revision:
- 27:4206883f4cb7
- Parent:
- 24:868cbfe611a7
- Child:
- 37:f1e388e7b752
--- a/USBHostHub/USBHostHub.cpp Mon Aug 18 13:45:26 2014 +0100 +++ b/USBHostHub/USBHostHub.cpp Mon Jan 19 14:30:37 2015 +0000 @@ -222,6 +222,9 @@ uint32_t status; USB_DBG("reset port %d on hub: %p [this: %p]", port, dev, this) setPortFeature(PORT_RESET_FEATURE, port); +#if defined(TARGET_RZ_A1H) + Thread::wait(50); // Reset release waiting for Hi-Speed check. +#endif while(1) { status = getPortStatus(port); if (status & (PORT_ENABLE | PORT_RESET))