fork of VodafoneUSBModem with updated USBHost library
Dependencies: Socket USBHost lwip-sys lwip
Dependents: VodafoneUSBModemSMSTest
Diff: serial/io/IOSerialStream.cpp
- Revision:
- 68:07ac4e1ea5b0
- Parent:
- 64:a44f64dc2879
diff -r a9dbbac4dd26 -r 07ac4e1ea5b0 serial/io/IOSerialStream.cpp --- a/serial/io/IOSerialStream.cpp Mon Dec 10 17:08:59 2012 +0000 +++ b/serial/io/IOSerialStream.cpp Mon Dec 10 17:11:14 2012 +0000 @@ -34,14 +34,14 @@ m_availableSphre.wait(); m_spaceSphre.wait(); //Attach interrupts - m_serial.attach(this, &IOSerialStream::readable, RxIrq); - m_serial.attach(this, &IOSerialStream::writeable, TxIrq); + m_serial.attach(this, &IOSerialStream::readable, mbed::Serial::RxIrq); + m_serial.attach(this, &IOSerialStream::writeable, mbed::Serial::TxIrq); } /*virtual*/ IOSerialStream::~IOSerialStream() { - m_serial.attach(NULL, RxIrq); - m_serial.attach(NULL, TxIrq); + m_serial.attach(NULL, mbed::Serial::RxIrq); + m_serial.attach(NULL, mbed::Serial::TxIrq); } //0 for non-blocking (returns immediately), osWaitForever for infinite blocking