Library for using the LSR SiFlex/ProFlex RF modules with mbed.
Revision 8:10f8dbd8dfff, committed 2016-07-25
- Comitter:
- Issus
- Date:
- Mon Jul 25 23:40:29 2016 +0000
- Parent:
- 7:25e64602dc61
- Child:
- 9:98edda6ea79e
- Commit message:
- Fixed auto attach
Changed in this revision
| LsrModule.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/LsrModule.cpp Mon Jul 25 23:17:51 2016 +0000
+++ b/LsrModule.cpp Mon Jul 25 23:40:29 2016 +0000
@@ -130,7 +130,9 @@
{
baud(baudRate);
- ptrHostState = &LsrModule::HostRxWaitForMsgStartByteState;
+ ptrHostState = &LsrModule::HostRxWaitForMsgStartByteState;
+
+ attach(this, &LsrModule::RunHostRxStateMachine);
} /*** End LsrModule ***/
@@ -148,8 +150,6 @@
{
ptrRxMsgCallbackTable[u8ForLoopCounter] = NULL;
}
-
- attach(this, &LsrModule::RunHostRxStateMachine);
} /*** End ~LsrModule ***/
Mark Harris