Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Socket USBHostWANDongleSprint lwip-sys lwip
Dependents: SprintUSBModemWebsocketTest SprintUSBModemHTTPClientTest SprintUSBModemNTPClientTest SprintUSBModemSMSTest ... more
Fork of SprintUSBModem_bleedingedge by
Diff: serial/io/IOSerialStream.cpp
- Revision:
- 14:f6f17843e5ef
- Parent:
- 11:7e1056a4ca50
diff -r 75171617d543 -r f6f17843e5ef serial/io/IOSerialStream.cpp
--- a/serial/io/IOSerialStream.cpp Fri Nov 30 13:13:58 2012 +0000
+++ b/serial/io/IOSerialStream.cpp Mon Dec 10 18:23:49 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
