mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 05:36:39 +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].pinmode=pinmode;
|
||||||
Settings.mcp230xx_config[pin].pullup=pullup;
|
Settings.mcp230xx_config[pin].pullup=pullup;
|
||||||
if (pinmode > 1 && pinmode < 5) {
|
if (pinmode > 1 && pinmode < 5) {
|
||||||
if (intmode >= 0 && intmode <= 2) {
|
if (intmode >= 0 && intmode <= 3) {
|
||||||
Settings.mcp230xx_config[pin].int_report_mode=intmode;
|
Settings.mcp230xx_config[pin].int_report_mode=intmode;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user