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 250:ef028cbd0749, committed 2018-11-13
- Comitter:
- bwang
- Date:
- Tue Nov 13 17:26:58 2018 +0000
- Parent:
- 249:314c1b12d9c2
- Child:
- 251:4ba2f238066f
- Commit message:
- 11/13/2018 12:26 - bugfix to rxCallback()
Changed in this revision
| CHANGELOG.txt | Show annotated file Show diff for this revision Revisions of this file |
| callbacks.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/CHANGELOG.txt Tue Nov 13 17:23:50 2018 +0000 +++ b/CHANGELOG.txt Tue Nov 13 17:26:58 2018 +0000 @@ -85,4 +85,5 @@ 11/13/2018 11:04 - added fast commands (which have command and data > 127 and aren't issuable from a terminal) 11/13/2018 11:20 - added COMMANDS.txt, added bounds check in OP_TORQUE 11/13/2018 12:00 - moved COMMANDS.txt to the right location -11/13/2018 12:33 - changes to rxCallback() - fast commands no longer print "\r>" after completion; non-ASCII chars are no longer echoed \ No newline at end of file +11/13/2018 12:23 - changes to rxCallback() - fast commands no longer print "\r>" after completion; non-ASCII chars are no longer echoed +11/13/2018 12:26 - bugfix to rxCallback() \ No newline at end of file
--- a/callbacks.cpp Tue Nov 13 17:23:50 2018 +0000
+++ b/callbacks.cpp Tue Nov 13 17:26:58 2018 +0000
@@ -26,8 +26,8 @@
if (!io.cmd_busy && linebuf[0] > 127) {
processCmdFast(io.pc, io.pref, linebuf);
} else if (!io.cmd_busy) {
+ io.pc->putc(c);
processCmd(io.pc, io.pref, linebuf);
- io.pc->putc(c);
io.pc->putc('>');
}
index = 0;