From 62a460f0b81259e810124fee673d10463faf3ea9 Mon Sep 17 00:00:00 2001 From: ficeto Date: Sat, 16 May 2015 20:39:23 +0300 Subject: [PATCH] printf to print instead of write --- cores/esp8266/Print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp8266/Print.cpp b/cores/esp8266/Print.cpp index aa63cd290..1f924248a 100644 --- a/cores/esp8266/Print.cpp +++ b/cores/esp8266/Print.cpp @@ -49,7 +49,7 @@ size_t Print::printf(const char *format, ...) { va_start(arg, format); char temp[256]; size_t len = ets_vsnprintf(temp, 256, format, arg); - len = write((const char *)temp); + len = print(temp); va_end(arg); return len; }