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.
Revision 38:c81bc5616e8e, committed 2015-12-03
- Comitter:
- Xiaofei
- Date:
- Thu Dec 03 16:20:23 2015 +0000
- Parent:
- 37:8eba82309257
- Commit message:
- C
Changed in this revision
Xbee.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Xbee.cpp Thu Dec 03 16:19:20 2015 +0000 +++ b/Xbee.cpp Thu Dec 03 16:20:23 2015 +0000 @@ -37,7 +37,7 @@ void Xbee::Recv(char& buffer) { while(1) - { + { if(!_xbee.readable()) { _xbee.putc('\0');