Merge pull request #12038 from nngg/patch-3

Update xsns_29_mcp230xx.ino
This commit is contained in:
Theo Arends 2021-05-22 17:34:33 +02:00 committed by GitHub
commit d33c92cc0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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++) {