From e3f2deaccee1d0f96f0d679f694dd73cae265f57 Mon Sep 17 00:00:00 2001 From: andrethomas Date: Fri, 17 Aug 2018 00:23:20 +0200 Subject: [PATCH] Allow intmode=3 (Disabled) --- 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 3e1ce5269..3ab47559d 100644 --- a/sonoff/xsns_29_mcp230xx.ino +++ b/sonoff/xsns_29_mcp230xx.ino @@ -417,7 +417,7 @@ bool MCP230xx_Command(void) { Settings.mcp230xx_config[pin].pinmode=pinmode; Settings.mcp230xx_config[pin].pullup=pullup; if (pinmode > 1 && pinmode < 5) { - if (intmode >= 0 && intmode <= 2) { + if (intmode >= 0 && intmode <= 3) { Settings.mcp230xx_config[pin].int_report_mode=intmode; } } else {