Andriy Makukha / Mbed 2 deprecated football_project_wo_output

Dependencies:   mbed

Fork of football_project by MZJ

Revision:
4:17b8edf264c3
Parent:
2:fe1566cdb6e7
Child:
5:1b9734e68327
--- a/io/MySerial.cpp	Mon Apr 13 17:41:48 2015 +0000
+++ b/io/MySerial.cpp	Thu Apr 16 17:10:19 2015 +0000
@@ -10,8 +10,6 @@
 
 #include "MySerial.h"
 
-#define STRING_STACK_LIMIT    120
-
 extern "C"
 {
     void pin_mode( PinName, PinMode );
@@ -167,10 +165,7 @@
 
     return  0;
 }
-// Experimental support for printf in MySerial. No Stream inheritance
-// means we can't call printf() directly, so we use sprintf() instead.
-// We only call malloc() for the sprintf() buffer if the buffer
-// length is above a certain threshold, otherwise we use just the stack.
+
 int MySerial::printf( const char *format, ... )
 {
     va_list arg;