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: USBHostMSD/USBHostMSD.cpp
- Revision:
- 32:f2d129436056
- Parent:
- 29:dc8179214fd7
- Child:
- 33:819bbf04163b
--- a/USBHostMSD/USBHostMSD.cpp Tue Feb 17 10:36:26 2015 +0100 +++ b/USBHostMSD/USBHostMSD.cpp Wed Oct 23 06:58:55 2019 +0000 @@ -322,7 +322,7 @@ int USBHostMSD::disk_initialize() { USB_DBG("FILESYSTEM: init"); - U16 i, timeout = 10; + uint16_t i, timeout = 10; if (!connected()) { // not connected @@ -338,7 +338,7 @@ getMaxLun(); for (i = 0; i < timeout; i++) { - Thread::wait(100); + ThisThread::sleep_for(100); if (!testUnitReady()) break; }