From 0f6b59f67e45c4b79b6f8475c36b098d8fd2e81d Mon Sep 17 00:00:00 2001 From: stefanbode Date: Mon, 25 Sep 2023 09:25:45 +0200 Subject: [PATCH] fix #16560 (#19589) shutter reacted on QUAD press with HOLD event. Fixed --- tasmota/tasmota_xdrv_driver/xdrv_27_esp32_shutter.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_27_esp32_shutter.ino b/tasmota/tasmota_xdrv_driver/xdrv_27_esp32_shutter.ino index 64f4f0f99..4a33cb32d 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_27_esp32_shutter.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_27_esp32_shutter.ino @@ -249,7 +249,7 @@ bool ShutterButtonHandlerMulti(void) Button.last_state[button_index], Button.press_counter[button_index], Button.window_timer[button_index], Shutter[shutter_index].button_simu_pressed); // multipress event handle back to main procedure - if (Button.press_counter[button_index]>4) return false; + if (Button.press_counter[button_index]>3) return false; if (!Shutter[shutter_index].button_simu_pressed) { uint8_t pos_press_index = Button.press_counter[button_index]-1;