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 64:a44f64dc2879, committed 2012-11-22
- Comitter:
- donatien
- Date:
- Thu Nov 22 15:04:30 2012 +0000
- Parent:
- 62:6f42a974eea6
- Child:
- 65:66db9afdc3c1
- Child:
- 66:d0b6bccbd613
- Commit message:
- Fix for compatibility with mbed rev. 44 library
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 Tue Nov 13 12:00:34 2012 +0000
+++ b/serial/io/IOSerialStream.cpp Thu Nov 22 15:04:30 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
