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: Xbee.cpp
- Revision:
- 32:a9ba94b949fd
- Parent:
- 31:84e27d1b86a6
- Child:
- 33:70e9e5e5f9d5
diff -r 84e27d1b86a6 -r a9ba94b949fd Xbee.cpp
--- a/Xbee.cpp	Sat Nov 28 14:35:19 2015 +0000
+++ b/Xbee.cpp	Sat Nov 28 14:37:55 2015 +0000
@@ -28,7 +28,7 @@
         }
         if(_xbee.readable())
         {
-            Flush();
+            //Flush();
             break;
         }
     }
@@ -47,7 +47,7 @@
             if(_xbee.getc()=='\0');
             {
                 buffer = _xbee.getc();
-                Flush();
+                //Flush();
             }
             break;
         }