modified puts to not add '\n' in puts

Dependencies:   Buffer

Fork of BufferedSerial by Sam Grove

Files at this revision

API Documentation at this revision

Comitter:
JMF
Date:
Tue Apr 18 00:49:57 2017 +0000
Parent:
12:a0d37088b405
Commit message:
removed the extra '\n' in puts.

Changed in this revision

BufferedSerial.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r a0d37088b405 -r a8fb4aa21c54 BufferedSerial.cpp
--- a/BufferedSerial.cpp	Mon Mar 07 21:10:27 2016 +0000
+++ b/BufferedSerial.cpp	Tue Apr 18 00:49:57 2017 +0000
@@ -71,7 +71,7 @@
         while(*(ptr) != 0) {
             _txbuf = *(ptr++);
         }
-        _txbuf = '\n';  // done per puts definition
+        //_txbuf = '\n';  // done per puts definition
         BufferedSerial::prime();
     
         return (ptr - s) + 1;