reset safety timer everytime lcd clicked
This commit is contained in:
parent
ca25ec90bd
commit
2f17997622
1 changed files with 1 additions and 0 deletions
|
@ -770,6 +770,7 @@ void lcd_buttons_update(void)
|
||||||
lcd_timeoutToStatus.start();
|
lcd_timeoutToStatus.start();
|
||||||
if (!buttonBlanking.running() || buttonBlanking.expired(BUTTON_BLANKING_TIME)) {
|
if (!buttonBlanking.running() || buttonBlanking.expired(BUTTON_BLANKING_TIME)) {
|
||||||
buttonBlanking.start();
|
buttonBlanking.start();
|
||||||
|
safetyTimer.start();
|
||||||
if ((lcd_button_pressed == 0) && (lcd_long_press_active == 0))
|
if ((lcd_button_pressed == 0) && (lcd_long_press_active == 0))
|
||||||
{
|
{
|
||||||
longPressTimer.start();
|
longPressTimer.start();
|
||||||
|
|
Loading…
Reference in a new issue