mirror of https://github.com/arendst/Tasmota.git
Update xsns_29_mcp230xx.ino
when more than single out pin is configured this prevents non unique key (for how assistant auto configuration) due too long string being ignored.
This commit is contained in:
parent
42708d0e09
commit
74f0bbaf9c
|
@ -394,7 +394,7 @@ void MCP230xx_Show(bool json)
|
|||
}
|
||||
if (outputcount) {
|
||||
uint16_t gpiototal = ((uint16_t)gpiob << 8) | gpio;
|
||||
ResponseAppend_P(PSTR(",\"MCP230_OUT\":{"));
|
||||
ResponseAppend_P(PSTR(",\"OUT\":{"));
|
||||
char stt[7];
|
||||
bool first = true;
|
||||
for (uint32_t pinx = 0; pinx < mcp230xx_pincount; pinx++) {
|
||||
|
|
Loading…
Reference in New Issue