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: ATParser.cpp
- Revision:
- 18:23f4573bcda2
- Parent:
- 17:bf5ceea4d6f2
- Child:
- 19:537f1380c44a
diff -r bf5ceea4d6f2 -r 23f4573bcda2 ATParser.cpp
--- a/ATParser.cpp Thu Jul 07 06:39:34 2016 +0000
+++ b/ATParser.cpp Tue Aug 02 06:57:42 2016 +0000
@@ -177,12 +177,12 @@
}
}
- // Finish with newline
- for (int i = 0; _delimiter[i]; i++) {
- if (putc(_delimiter[i]) < 0) {
+ // Finish with CR "\r"
+ //for (int i = 0; _delimiter[i]; i++) {
+ if (putc(_delimiter[0]) < 0) {
return false;
}
- }
+ //}
debug_if(dbg_on, "AT> %s\r\n", _buffer);
return true;