From 718cd0df8d698cd21bf6ba6a6f66aa775544fb6f Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Fri, 20 Jan 2023 21:17:24 +0100 Subject: [PATCH] bugfix please remember to increase the buffer size again because the new value for "not a pin" will be 255 = +12bytes. --- wled00/xml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled00/xml.cpp b/wled00/xml.cpp index 84f70bbc..e8c7e6ca 100644 --- a/wled00/xml.cpp +++ b/wled00/xml.cpp @@ -274,7 +274,7 @@ void appendGPIOinfo() { #endif oappend(SET_F(";")); - char dt_pins[30]; + char dt_pins[48]; // fix warning: output 45 bytes into a destination of size 30 #if defined(ESP8266) && !defined(ARDUINO_ESP8266_ESP01) sprintf(dt_pins, "d.dt_pins=[%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d];", D0, D1, D2, D3, D4, D5, D6, D7, D8, hardwareRX, hardwareTX); #else