From db223b9d10a9802a3575d79e88edd220754a0753 Mon Sep 17 00:00:00 2001 From: andrethomas Date: Tue, 14 Aug 2018 21:41:17 +0200 Subject: [PATCH] Update xsns_29_mcp230xx.ino --- sonoff/xsns_29_mcp230xx.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/xsns_29_mcp230xx.ino b/sonoff/xsns_29_mcp230xx.ino index 9d4ab89fc..6ef5a3835 100644 --- a/sonoff/xsns_29_mcp230xx.ino +++ b/sonoff/xsns_29_mcp230xx.ino @@ -70,7 +70,7 @@ const char MCP230XX_CMND_RESPONSE[] PROGMEM = "{\"S29cmnd_D%i\":{\"COMMAND\":\"% const char* ConvertNumTxt(uint8_t statu, uint8_t pinmod=0) { #ifdef USE_MCP230xx_OUTPUT -if (pinmod==6) { +if (pinmod == 6) { if (statu < 2) statu = abs(statu-1); } #endif // USE_MCP230xx_OUTPUT