USB Host Library for Sprint Dongles
Dependencies: Socket USBHostWANDongleSprint lwip-sys lwip
Dependents: SprintUSBModemWebsocketTest SprintUSBModemHTTPClientTest SprintUSBModemNTPClientTest SprintUSBModemSMSTest ... more
Fork of SprintUSBModem_bleedingedge by
Diff: serial/io/IOSerialStream.cpp
- Revision:
- 11:7e1056a4ca50
- Parent:
- 0:8f57713b2147
- Child:
- 14:f6f17843e5ef
--- a/serial/io/IOSerialStream.cpp Tue Oct 30 12:40:18 2012 +0000 +++ b/serial/io/IOSerialStream.cpp Thu Nov 22 15:24:50 2012 +0000 @@ -34,14 +34,14 @@ m_availableSphre.wait(); m_spaceSphre.wait(); //Attach interrupts - m_serial.attach(this, &IOSerialStream::readable, mbed::Serial::RxIrq); - m_serial.attach(this, &IOSerialStream::writeable, mbed::Serial::TxIrq); + m_serial.attach(this, &IOSerialStream::readable, RxIrq); + m_serial.attach(this, &IOSerialStream::writeable, TxIrq); } /*virtual*/ IOSerialStream::~IOSerialStream() { - m_serial.attach(NULL, mbed::Serial::RxIrq); - m_serial.attach(NULL, mbed::Serial::TxIrq); + m_serial.attach(NULL, RxIrq); + m_serial.attach(NULL, TxIrq); } //0 for non-blocking (returns immediately), osWaitForever for infinite blocking