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.
Fork of com by
Revision 10:ec36e1b59a39, committed 2014-04-25
- Comitter:
- oprospero
- Date:
- Fri Apr 25 06:14:36 2014 +0000
- Parent:
- 9:1190db2717a8
- Child:
- 11:d1f488302d06
- Commit message:
- iunno;
Changed in this revision
com.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/com.cpp Thu Apr 24 04:14:22 2014 +0000 +++ b/com.cpp Fri Apr 25 06:14:36 2014 +0000 @@ -148,7 +148,8 @@ // xbeeTx.putc( bLength ); // xbeeTx.putc( bLength ); // xbeeTx.putc( 255 ); - if( data == 255 && bLength > 5) + //2nd condition ensure that we have a full size packet before building + if( data == 255 && bLength > 5) packetBuilder(); } __enable_irq();