Fix compile error

Fix compile error
This commit is contained in:
Theo Arends 2018-09-02 14:46:06 +02:00
parent 0ac8c73938
commit 4b4b0dff85
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ void HandleUpnpEvent()
if (request.indexOf(F("SetBinaryState")) > 0) {
uint8_t power = POWER_TOGGLE;
if (request.indexOf(F("State>1</Binary")) > 0) {
power = POWER_ON
power = POWER_ON;
}
else if (request.indexOf(F("State>0</Binary")) > 0) {
power = POWER_OFF;