Remove redundant lcd_draw_update assignment

When scrolling through menu items, the rotation event on the knob
takes care of updating the LCD by setting lcd_draw_update.
The menu code doesn't need to do it as well.

Change in memory:
Flash: -6 bytes
SRAM: 0 bytes
This commit is contained in:
Guðni Már Gilbert 2023-05-03 23:45:28 +00:00 committed by DRracer
parent 1fea4a7335
commit 5cfdceb184
1 changed files with 0 additions and 1 deletions

View File

@ -90,7 +90,6 @@ void menu_end(void)
if (((uint8_t)lcd_encoder) >= menu_top + LCD_HEIGHT)
{
menu_top = lcd_encoder - LCD_HEIGHT + 1;
lcd_draw_update = 1;
menu_line = menu_top - 1;
menu_row = -1;
}