From 757ccaffbcf5ef6450b8c647c018bd75159e0a14 Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Wed, 30 Jun 2021 09:36:15 -0300 Subject: [PATCH] AP Mode: Allow buttons to work as in Normal Mode --- tasmota/support_button.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasmota/support_button.ino b/tasmota/support_button.ino index 20151e059..3fbfff702 100644 --- a/tasmota/support_button.ino +++ b/tasmota/support_button.ino @@ -320,9 +320,9 @@ void ButtonHandler(void) { // Success } else { if (Button.press_counter[button_index] < 6) { // Single to Penta press - if (WifiState() > WIFI_RESTART) { // Wifimanager active - TasmotaGlobal.restart_flag = 1; - } +// if (WifiState() > WIFI_RESTART) { // Wifimanager active +// TasmotaGlobal.restart_flag = 1; +// } if (!Settings->flag3.mqtt_buttons) { // SetOption73 - Detach buttons from relays and enable MQTT action state for multipress if (Button.press_counter[button_index] == 1) { // By default first press always send a TOGGLE (2) ExecuteCommandPower(button_index + Button.press_counter[button_index], POWER_TOGGLE, SRC_BUTTON);