fork of VodafoneUSBModem with updated USBHost library

Dependencies:   Socket USBHost lwip-sys lwip

Dependents:   VodafoneUSBModemSMSTest

Revision:
64:a44f64dc2879
Parent:
62:6f42a974eea6
Child:
68: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