Skip to content

Commit 62a460f

Browse files
ficetoficeto
authored andcommitted
printf to print instead of write
1 parent ab46291 commit 62a460f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/Print.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ size_t Print::printf(const char *format, ...) {
4949
va_start(arg, format);
5050
char temp[256];
5151
size_t len = ets_vsnprintf(temp, 256, format, arg);
52-
len = write((const char *)temp);
52+
len = print(temp);
5353
va_end(arg);
5454
return len;
5555
}

0 commit comments

Comments
 (0)