Merge pull request #1110 from PavelSindler/lcd_clicked_error_fix

lcd_clicked() fix (PFW-534 and PFW-546)
This commit is contained in:
mkbel 2018-09-07 09:07:03 +02:00 committed by GitHub
commit cbc506c379
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}