Explorar o código

Merge pull request #1110 from PavelSindler/lcd_clicked_error_fix

lcd_clicked() fix (PFW-534 and PFW-546)
mkbel %!s(int64=6) %!d(string=hai) anos
pai
achega
cbc506c379
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Firmware/lcd.cpp

+ 1 - 1
Firmware/lcd.cpp

@@ -687,7 +687,7 @@ LongTimer lcd_timeoutToStatus;
 uint8_t lcd_clicked(void)
 {
 	bool clicked = LCD_CLICKED;
-	if(clicked) lcd_button_pressed = 1;
+	if(clicked) lcd_button_pressed = 0;
     return clicked;
 }