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.
Dependents: M2X_dev axeda_wrapper_dev MTS_M2x_Example1 MTS_Cellular_Connect_Example ... more
Diff: io/MTSBufferedIO.cpp
- 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();
uIP Socket Modem Shield (Outdated - see below)