mirror of https://github.com/arendst/Tasmota.git
commit
411cbb8695
|
@ -539,7 +539,7 @@ bool SendKey(uint32_t key, uint32_t device, uint32_t state)
|
||||||
}
|
}
|
||||||
int32_t payload_save = XdrvMailbox.payload;
|
int32_t payload_save = XdrvMailbox.payload;
|
||||||
XdrvMailbox.payload = key << 16 | state << 8 | device;
|
XdrvMailbox.payload = key << 16 | state << 8 | device;
|
||||||
XsnsCall(FUNC_ANY_KEY);
|
XdrvCall(FUNC_ANY_KEY);
|
||||||
XdrvMailbox.payload = payload_save;
|
XdrvMailbox.payload = payload_save;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue