Serial library for MTS Socket Modem Arduino Shield devices from Multi-Tech Systems

Dependents:   mDot_AT_firmware mtsas mtsas MTDOT-EVB-LinkCheck-AL ... more

Revision:
13:643ad09fc0e0
Parent:
12:e12b79a4ab4f
--- a/MTSSerialFlowControl.cpp	Thu Mar 23 16:15:14 2017 -0500
+++ b/MTSSerialFlowControl.cpp	Fri Sep 11 11:26:01 2020 -0500
@@ -69,7 +69,7 @@
             if(txBuffer.read(byte) == 1) {
                 _serial->attach(NULL, Serial::RxIrq);
                 _serial->putc(byte);
-                _serial->attach(this, &MTSSerialFlowControl::handleRead, Serial::RxIrq);
+                _serial->attach(callback(this, &MTSSerialFlowControl::handleRead), Serial::RxIrq);
             }
         } else {
             return;