From 4b4b0dff855a5e9c1bf7a8d272b2a73fa8fbb223 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sun, 2 Sep 2018 14:46:06 +0200 Subject: [PATCH] Fix compile error Fix compile error --- sonoff/xplg_wemohue.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/xplg_wemohue.ino b/sonoff/xplg_wemohue.ino index 9a5fb9467..bc579782a 100644 --- a/sonoff/xplg_wemohue.ino +++ b/sonoff/xplg_wemohue.ino @@ -388,7 +388,7 @@ void HandleUpnpEvent() if (request.indexOf(F("SetBinaryState")) > 0) { uint8_t power = POWER_TOGGLE; if (request.indexOf(F("State>1 0) { - power = POWER_ON + power = POWER_ON; } else if (request.indexOf(F("State>0 0) { power = POWER_OFF;