mirror of https://github.com/arendst/Tasmota.git
Merge pull request #12038 from nngg/patch-3
Update xsns_29_mcp230xx.ino
This commit is contained in:
commit
d33c92cc0c
|
@ -394,7 +394,7 @@ void MCP230xx_Show(bool json)
|
||||||
}
|
}
|
||||||
if (outputcount) {
|
if (outputcount) {
|
||||||
uint16_t gpiototal = ((uint16_t)gpiob << 8) | gpio;
|
uint16_t gpiototal = ((uint16_t)gpiob << 8) | gpio;
|
||||||
ResponseAppend_P(PSTR(",\"MCP230_OUT\":{"));
|
ResponseAppend_P(PSTR(",\"OUT\":{"));
|
||||||
char stt[7];
|
char stt[7];
|
||||||
bool first = true;
|
bool first = true;
|
||||||
for (uint32_t pinx = 0; pinx < mcp230xx_pincount; pinx++) {
|
for (uint32_t pinx = 0; pinx < mcp230xx_pincount; pinx++) {
|
||||||
|
|
Loading…
Reference in New Issue