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 USBHostWANDongle lwip-sys lwip
Fork of VodafoneUSBModem by
Revision 68:07ac4e1ea5b0, committed 2012-12-10
- Comitter:
- donatien
- Date:
- Mon Dec 10 17:11:14 2012 +0000
- Parent:
- 67:a9dbbac4dd26
- Child:
- 70:f6d75c4bb9d9
- Child:
- 75:ff3e5d1e82ca
- Commit message:
- Fix for regression in mbed rev.51+ lib
Changed in this revision
| serial/io/IOSerialStream.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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
