mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
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)
This commit is contained in:
parent
9f0fdd597c
commit
71f0ab7b2c
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user