please remember to increase the buffer size again because the new value for "not a pin" will be 255 = +12bytes.
This commit is contained in:
Frank
2023-01-20 21:17:24 +01:00
parent 45e46822a1
commit 718cd0df8d

View File

@@ -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