Myserial Library extends RawSerial

Files at this revision

API Documentation at this revision

Comitter:
naao
Date:
Mon Jun 23 07:47:01 2014 +0000
Parent:
6:7853f8641372
Child:
8:a7aaafa19db6
Commit message:
modify &cWord[0] to &cWord

Changed in this revision

MySerial.h Show annotated file Show diff for this revision Revisions of this file
--- a/MySerial.h	Mon Jun 23 07:45:15 2014 +0000
+++ b/MySerial.h	Mon Jun 23 07:47:01 2014 +0000
@@ -60,7 +60,7 @@
      */
     template <class X> int GetString(int size, X cWord)
     {
-        return GetString(size, &cWord[0]);
+        return GetString(size, &cWord);
     }
 
 protected: