Adaptation of the official mbed USBHost repository to work with the LPC4088 Display Module

Dependents:   DMSupport DMSupport DMSupport DMSupport

Fork of DM_USBHost by EmbeddedArtists AB

Revision:
32:f2d129436056
Parent:
24:868cbfe611a7
diff -r 9a462d032742 -r f2d129436056 USBHost3GModule/WANDongleSerialPort.cpp
--- a/USBHost3GModule/WANDongleSerialPort.cpp	Tue Feb 17 10:36:26 2015 +0100
+++ b/USBHost3GModule/WANDongleSerialPort.cpp	Wed Oct 23 06:58:55 2019 +0000
@@ -90,7 +90,7 @@
   {
     //lock_rx.unlock();
     USB_ERR("host->bulkRead() returned %d", res);
-    Thread::wait(100);
+    ThisThread::sleep_for(100);
     return -1;
   }
   return 0;
@@ -123,7 +123,7 @@
   {
     //lock_tx.unlock();
     USB_ERR("host->bulkWrite() returned %d", res);
-    Thread::wait(100);
+    ThisThread::sleep_for(100);
     return -1;
   }
   return 0;