Adaptation of the official mbed USBHost repository to work with the LPC4088 Display Module
Dependents: DMSupport DMSupport DMSupport DMSupport
Fork of DM_USBHost by
Diff: USBHostHub/USBHostHub.cpp
- Revision:
- 31:9a462d032742
- Parent:
- 28:a55c5a98d5e9
- Child:
- 32:f2d129436056
--- a/USBHostHub/USBHostHub.cpp Tue Jan 20 09:09:10 2015 +0100 +++ b/USBHostHub/USBHostHub.cpp Tue Feb 17 10:36:26 2015 +0100 @@ -129,7 +129,7 @@ for (uint8_t j = 1; j <= nb_port; j++) { setPortFeature(PORT_POWER_FEATURE, j); } - wait_ms(buf[5]*2); + Thread::wait(buf[5]*2); host->interruptRead(dev, int_in, buf, 1, false); dev_connected = true;