mirror of https://github.com/arendst/Tasmota.git
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…
Reference in New Issue