Andriy Makukha / Mbed 2 deprecated football_project_wo_output

Dependencies:   mbed

Fork of football_project by MZJ

Revision:
3:388e441be8df
Parent:
2:fe1566cdb6e7
Child:
4:17b8edf264c3
diff -r fe1566cdb6e7 -r 388e441be8df io/MySerial.h
--- a/io/MySerial.h	Mon Apr 13 14:02:48 2015 +0000
+++ b/io/MySerial.h	Mon Apr 13 17:41:48 2015 +0000
@@ -12,6 +12,9 @@
 #define MYSERIAL_H
 
 #include "mbed.h"
+// #include "Stream.h"
+// #include "FunctionPointer.h"
+#include "serial_api.h"
 #include <cstdarg>
 
 namespace moo
@@ -109,8 +112,8 @@
      *  @note
      *    Either tx or rx may be specified as NC if unused
      */
-    MySerial( PinName tx,                 PinName rx, const char *name=NULL,
-              PinName rts=NC/* RTS_PIN_NUMBER */, PinName cts=NC /* CTS_PIN_NUMBER */ );
+    MySerial( PinName tx,     PinName rx,    const char *name=NULL,
+              PinName rts=NC, PinName cts=NC );  // Defaults to using no flow control.
 
     /** Write a string to the serial port
      *