bugfix
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user