s
Diff: ATParser.cpp
- Revision:
- 18:23f4573bcda2
- Parent:
- 17:bf5ceea4d6f2
- Child:
- 19:537f1380c44a
--- 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;