Merge pull request #3268 from gudnimg/lcd_button_update_gudni
Remove one call to `lcd_timeoutToStatus.start`
This commit is contained in:
commit
e6703125ec
|
|
@ -741,7 +741,6 @@ void lcd_buttons_update(void)
|
||||||
|
|
||||||
if (READ(BTN_ENC) == 0)
|
if (READ(BTN_ENC) == 0)
|
||||||
{ //button is pressed
|
{ //button is pressed
|
||||||
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();
|
safetyTimer.start();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue