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.
Diff: LsrModule.cpp
- Revision:
- 8:10f8dbd8dfff
- Parent:
- 7:25e64602dc61
- Child:
- 9:98edda6ea79e
--- 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 ***/