From 9f4d90ec133331fe1525d29877ba31b0491f1589 Mon Sep 17 00:00:00 2001 From: RemiDing Date: Sun, 9 Aug 2020 08:34:03 +0200 Subject: [PATCH] removed compile errors --- tasmota/support_switch.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/support_switch.ino b/tasmota/support_switch.ino index eea4a1aee..bd127d6c5 100644 --- a/tasmota/support_switch.ino +++ b/tasmota/support_switch.ino @@ -330,7 +330,7 @@ void SwitchHandler(uint8_t mode) case PUSHHOLDMULTI: if (NOT_PRESSED == button) { if ((Switch.hold_timer[i] & SM_TIMER_MASK) != 0) { - Switch.hold_timer[i] = ((Switch.hold_timer[i] & ~SM_TIMER_MASK)) == SM_FIRST_PRESS) ? SM_SECOND_PRESS : 0; + Switch.hold_timer[i] = ((Switch.hold_timer[i] & ~SM_TIMER_MASK) == SM_FIRST_PRESS) ? SM_SECOND_PRESS : 0; SendKey(KEY_SWITCH, i +1, POWER_INV); // Execute command via MQTT } } else {