1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-13 13:01:55 +03:00

Add SSDP Library and let Print::printf to handle longer strings

This commit is contained in:
John Doe
2015-07-04 22:55:48 +03:00
committed by Ivan Grokhotkov
parent 7891a84e8b
commit 4fdba1b635
6 changed files with 554 additions and 2 deletions

View File

@ -47,8 +47,8 @@ size_t ICACHE_FLASH_ATTR Print::write(const uint8_t *buffer, size_t size) {
size_t Print::printf(const char *format, ...) {
va_list arg;
va_start(arg, format);
char temp[256];
size_t len = ets_vsnprintf(temp, 256, format, arg);
char temp[1460];
size_t len = ets_vsnprintf(temp, 1460, format, arg);
len = print(temp);
va_end(arg);
return len;