mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
pgmspace: expand varargs correctly in printf_P (#2819)
This commit is contained in:
parent
71b963699d
commit
7a93478a99
@ -234,7 +234,7 @@ int printf_P(PGM_P formatP, ...) {
|
|||||||
char* format = new char[fmtLen + 1];
|
char* format = new char[fmtLen + 1];
|
||||||
strcpy_P(format, formatP);
|
strcpy_P(format, formatP);
|
||||||
|
|
||||||
ret = printf(format, arglist);
|
ret = vprintf(format, arglist);
|
||||||
|
|
||||||
delete[] format;
|
delete[] format;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user