From 71f0ab7b2c2203f24b1eabf86452a105df1cebb0 Mon Sep 17 00:00:00 2001 From: Theo Arends Date: Thu, 29 Mar 2018 17:23:47 +0200 Subject: [PATCH] Change Reset on Button Hold time to 40 seconds 5.12.0i * Change default Reset configuration time from 4 seconds to 40 seconds on Button hold (#2268) --- sonoff/sonoff.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/sonoff.ino b/sonoff/sonoff.ino index 90abae7b5..6ef37513e 100644 --- a/sonoff/sonoff.ino +++ b/sonoff/sonoff.ino @@ -1497,7 +1497,7 @@ void ButtonHandler() button = PRESSED; if (0xF500 == dual_button_code) { // Button hold holdbutton[button_index] = (Settings.param[P_HOLD_TIME] * (STATES / 10)) -1; - hold_time_extent = 0; + hold_time_extent = 1; } dual_button_code = 0; }