Multi-Hackers / SocketModem

Dependents:   M2X_dev axeda_wrapper_dev MTS_M2x_Example1 MTS_Cellular_Connect_Example ... more

Revision:
2:8d3ea0dfce39
Parent:
0:563b70517320
Child:
17:2d7c4ea7491b
--- a/io/MTSBufferedIO.cpp	Mon Dec 09 16:10:26 2013 +0000
+++ b/io/MTSBufferedIO.cpp	Wed Dec 11 20:07:02 2013 +0000
@@ -39,25 +39,6 @@
     return rxBuffer->read();
 }
 
-template<typename T>
-void MTSBufferedIO::attach(T *tptr, void(T::*mptr)(void), int threshold, Vars::RelationalOperator op, Serial::IrqType type)
-{
-    if (type == Serial::TxIrq) {
-        txBuffer->attach(tptr, mptr, threshold, op);
-    } else if (type == Serial::RxIrq) {
-        rxBuffer->attach(tptr, mptr, threshold, op);
-    }
-}
-
-void MTSBufferedIO::attach(void(*fptr)(void), int threshold, Vars::RelationalOperator op, Serial::IrqType type)
-{
-    if (type == Serial::TxIrq) {
-        txBuffer->attach(fptr, threshold, op);
-    } else if (type == Serial::RxIrq) {
-        rxBuffer->attach(fptr, threshold, op);
-    }
-}
-
 bool MTSBufferedIO::txEmpty()
 {
     return txBuffer->isEmpty();