mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 03:06:33 +00:00
sorry... (#19429)
This commit is contained in:
parent
3301875983
commit
2bae1f4368
@ -461,7 +461,7 @@ void ButtonHandler(void) {
|
||||
} else {
|
||||
Button.press_counter[button_index] = (Button.window_timer[button_index]) ? Button.press_counter[button_index] +1 : 1;
|
||||
AddLog(LOG_LEVEL_DEBUG, PSTR("BTN: Button%d multi-press %d"), button_index +1, Button.press_counter[button_index]);
|
||||
Button.window_timer[button_index] = uint32_t(DOUBLE_CLICK_WINDOW * loops_per_second) / 100;
|
||||
Button.window_timer[button_index] = uint32_t(DOUBLE_CLICK_WINDOW * loops_per_second) / 1000;
|
||||
}
|
||||
TasmotaGlobal.blinks = 201;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user