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: callbacks.cpp
- Revision:
- 246:167b5d50d0f2
- Parent:
- 214:c70a6e86417f
- Child:
- 247:da647f7185b7
--- a/callbacks.cpp	Mon Nov 12 12:43:31 2018 +0000
+++ b/callbacks.cpp	Tue Nov 13 15:06:37 2018 +0000
@@ -24,7 +24,7 @@
         } else if (c == '\r') {
             linebuf[index] = 0;
             io.pc->putc(c);
-            processCmd(io.pc, io.pref, linebuf);
+            if (!io.cmd_busy) processCmd(io.pc, io.pref, linebuf);
             index = 0;
             io.pc->putc('>');
         }