mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +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];
|
||||
strcpy_P(format, formatP);
|
||||
|
||||
ret = printf(format, arglist);
|
||||
ret = vprintf(format, arglist);
|
||||
|
||||
delete[] format;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user