mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 21:26:33 +00:00
Allow intmode=3 (Disabled)
This commit is contained in:
parent
3346660419
commit
e3f2deacce
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user