Added TARGET_DISCO_F469NI in USBHOST\USBHost\TARGET_STM\USBHALHost_STM_TARGET.h
Dependents: DISCO-F469NI_USB_Disk STM32F4xx_USB_Memory
Fork of USBHOST by
Diff: USBHost3GModule/WANDongleSerialPort.cpp
- Revision:
- 8:3e7a33f81048
- Parent:
- 1:ab240722d7ef
diff -r 7ebd364a6be5 -r 3e7a33f81048 USBHost3GModule/WANDongleSerialPort.cpp --- a/USBHost3GModule/WANDongleSerialPort.cpp Mon Apr 30 05:37:24 2018 +0000 +++ b/USBHost3GModule/WANDongleSerialPort.cpp Sat Jan 04 23:30:59 2020 +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;