mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-31 06:36:33 +00:00
MCP230xx Add sensor29 pin,2 for toggle
This commit is contained in:
parent
0e240bbeb1
commit
9884cfaf16
@ -636,7 +636,7 @@ bool MCP230xx_Command(void) {
|
||||
MCP230xx_SetOutPin(pin,pincmd);
|
||||
return serviced;
|
||||
}
|
||||
if (!strcmp(subStr(sub_string, XdrvMailbox.data, ",", 2), "T")) {
|
||||
if ((!strcmp(subStr(sub_string, XdrvMailbox.data, ",", 2), "T")) || (!strcmp(subStr(sub_string, XdrvMailbox.data, ",", 2), "2"))) {
|
||||
MCP230xx_SetOutPin(pin,2);
|
||||
return serviced;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user