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 22:0e8e22f161ff, committed 2014-11-02
- Comitter:
- oprospero
- Date:
- Sun Nov 02 19:18:11 2014 +0000
- Parent:
- 21:117e01fc0373
- Commit message:
- Clean up
Changed in this revision
com.cpp | Show annotated file Show diff for this revision Revisions of this file |
queueChar/queueChar.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/com.cpp Thu Oct 23 04:46:10 2014 +0000 +++ b/com.cpp Sun Nov 02 19:18:11 2014 +0000 @@ -38,14 +38,12 @@ void com::callback() { - __disable_irq(); while(xbee.readable()) { char data = xbee.getc(); - xbee.putc(data); +// xbee.putc(data); rxBuffer.add(data); } - __enable_irq(); } bool com::isData()
--- a/queueChar/queueChar.h Thu Oct 23 04:46:10 2014 +0000 +++ b/queueChar/queueChar.h Sun Nov 02 19:18:11 2014 +0000 @@ -14,7 +14,7 @@ using namespace std; -const int MAXQUEUECHARLENGTH = 12; +const int MAXQUEUECHARLENGTH = 64; class queueChar {