mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 03:06:33 +00:00
Merge pull request #3369 from andrethomas/development
Fix bug in MCP230xx_CheckForInterrupt()
This commit is contained in:
commit
2fac11d058
@ -146,7 +146,7 @@ bool MCP230xx_CheckForInterrupt(void) {
|
||||
if ((intf >> intp) & 0x01) { // we know which pin caused interrupt
|
||||
report_int = 0;
|
||||
if (Settings.mcp230xx_config[intp+(mcp230xx_port*8)].pinmode > 1) {
|
||||
switch (Settings.mcp230xx_config[+(mcp230xx_port*8)].pinmode) {
|
||||
switch (Settings.mcp230xx_config[intp+(mcp230xx_port*8)].pinmode) {
|
||||
case 2:
|
||||
report_int = 1;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user