Myserial Library extends RawSerial

Revision:
15:a0b05e764268
Parent:
14:8bd054a87ac5
--- a/MySerial.cpp	Thu Jul 03 05:41:39 2014 +0000
+++ b/MySerial.cpp	Fri Jul 04 11:06:02 2014 +0000
@@ -16,7 +16,7 @@
 {
     int i=0;
     int ichar;
-    memset(cWord, '\0', strlen(cWord));  //initialise chars
+    memset(cWord, '\0', size+1);  //initialise chars
 
     wait(fRxStartWait);