From 2f1799762223d1e0ed9f26460b3a5827747ccb86 Mon Sep 17 00:00:00 2001 From: Robert Pelnar Date: Wed, 8 Aug 2018 19:33:44 +0200 Subject: [PATCH] reset safety timer everytime lcd clicked --- Firmware/lcd.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Firmware/lcd.cpp b/Firmware/lcd.cpp index 0d1e3840..f8e4b4c6 100644 --- a/Firmware/lcd.cpp +++ b/Firmware/lcd.cpp @@ -770,6 +770,7 @@ void lcd_buttons_update(void) lcd_timeoutToStatus.start(); if (!buttonBlanking.running() || buttonBlanking.expired(BUTTON_BLANKING_TIME)) { buttonBlanking.start(); + safetyTimer.start(); if ((lcd_button_pressed == 0) && (lcd_long_press_active == 0)) { longPressTimer.start();