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:
parent
ab46291383
commit
62a460f0b8
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user