Library for using the LSR SiFlex/ProFlex RF modules with mbed.
Revision 3:8d794c196710, committed 2016-07-25
- Comitter:
- Issus
- Date:
- Mon Jul 25 17:03:28 2016 +0000
- Parent:
- 2:2c0b7246d769
- Child:
- 4:2ac0b9a7f43a
- Commit message:
- Added delay before changing baud rates on host.
Changed in this revision
| LsrModule.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/LsrModule.cpp Mon Jul 25 16:56:36 2016 +0000
+++ b/LsrModule.cpp Mon Jul 25 17:03:28 2016 +0000
@@ -489,6 +489,9 @@
AddSerialByteToMsgBuffer(u8HostDataRate);
AddSerialMsgTrailer();
+ // 2.4 ms for the data rate change packet to be transmitted.
+ wait_ms(3);
+
switch (u8HostDataRate)
{
case LSR_MODULE_HOST_DATA_RATE_1200:
Mark Harris