local fork

Dependencies:   Socket USBHostWANDongle_bleedingedge lwip-sys lwip

Dependents:   Encrypted

Fork of VodafoneUSBModem_bleedingedge by Donatien Garnier

Revision:
61:a44f64dc2879
Parent:
60:6f42a974eea6
Child:
64:07ac4e1ea5b0
--- 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