|
|
|
@ -1802,9 +1802,6 @@ draw_menu_buttons(const menuitem_t *menu)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
y += MENU_BUTTON_HEIGHT;
|
|
|
|
y += MENU_BUTTON_HEIGHT;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// Not erase Form menu (used full screen clear)
|
|
|
|
|
|
|
|
if (menu[i].type & MT_FORM)
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
// Cleanup other buttons (less flicker)
|
|
|
|
// Cleanup other buttons (less flicker)
|
|
|
|
for (; i < MENU_BUTTON_MAX; i++, y+=MENU_BUTTON_HEIGHT)
|
|
|
|
for (; i < MENU_BUTTON_MAX; i++, y+=MENU_BUTTON_HEIGHT)
|
|
|
|
ili9341_fill(LCD_WIDTH-MENU_BUTTON_WIDTH, y, MENU_BUTTON_WIDTH, MENU_BUTTON_HEIGHT, DEFAULT_BG_COLOR);
|
|
|
|
ili9341_fill(LCD_WIDTH-MENU_BUTTON_WIDTH, y, MENU_BUTTON_WIDTH, MENU_BUTTON_HEIGHT, DEFAULT_BG_COLOR);
|
|
|
|
|