Update sonoff.ino

This commit is contained in:
Federico Leoni 2019-10-24 13:44:00 -03:00 committed by GitHub
parent d7968da12c
commit 2e0bf40d40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ bool SendKey(uint32_t key, uint32_t device, uint32_t state)
}
int32_t payload_save = XdrvMailbox.payload;
XdrvMailbox.payload = key << 16 | state << 8 | device;
XsnsCall(FUNC_ANY_KEY);
XdrvCall(FUNC_ANY_KEY);
XdrvMailbox.payload = payload_save;
return result;
}