Library for using the LSR SiFlex/ProFlex RF modules with mbed.

Files at this revision

API Documentation at this revision

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: