1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

printf to print instead of write

This commit is contained in:
ficeto 2015-05-16 20:39:23 +03:00
parent ab46291383
commit 62a460f0b8

View File

@ -49,7 +49,7 @@ size_t Print::printf(const char *format, ...) {
va_start(arg, format); va_start(arg, format);
char temp[256]; char temp[256];
size_t len = ets_vsnprintf(temp, 256, format, arg); size_t len = ets_vsnprintf(temp, 256, format, arg);
len = write((const char *)temp); len = print(temp);
va_end(arg); va_end(arg);
return len; return len;
} }