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: USBHost3GModule/WANDongleSerialPort.cpp
- Revision:
- 24:868cbfe611a7
- Parent:
- 18:37c948cf0dbf
- Child:
- 32:f2d129436056
diff -r 759ec18ee1a7 -r 868cbfe611a7 USBHost3GModule/WANDongleSerialPort.cpp --- a/USBHost3GModule/WANDongleSerialPort.cpp Fri Mar 07 16:00:46 2014 +0000 +++ b/USBHost3GModule/WANDongleSerialPort.cpp Tue Jun 03 11:30:38 2014 +0100 @@ -58,7 +58,7 @@ buf_in_read_pos = 0; lock_rx = false; cb_rx_pending = false; - + tx_mtx.unlock(); rx_mtx.unlock(); } @@ -73,7 +73,7 @@ rx_mtx.unlock(); return -1; } - + if( bulk_in == NULL ) { USB_WARN("Port is disconnected"); @@ -105,7 +105,7 @@ tx_mtx.unlock(); return -1; } - + if( bulk_out == NULL ) { USB_WARN("Port is disconnected");