From 2e0bf40d40caf57980c08e85d08dd242a2c375c3 Mon Sep 17 00:00:00 2001 From: Federico Leoni Date: Thu, 24 Oct 2019 13:44:00 -0300 Subject: [PATCH] Update sonoff.ino --- sonoff/sonoff.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/sonoff.ino b/sonoff/sonoff.ino index ef42e85eb..18a699350 100755 --- a/sonoff/sonoff.ino +++ b/sonoff/sonoff.ino @@ -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; }