Explorar el Código

Merge pull request #1110 from PavelSindler/lcd_clicked_error_fix

lcd_clicked() fix (PFW-534 and PFW-546)
mkbel hace 7 años
padre
commit
cbc506c379
Se han modificado 1 ficheros con 1 adiciones y 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;
 }