diff --git a/stm-firmware/ui/gui.c b/stm-firmware/ui/gui.c index 005ec65..9594941 100644 --- a/stm-firmware/ui/gui.c +++ b/stm-firmware/ui/gui.c @@ -790,7 +790,6 @@ static void gui_menu_root_entry(struct lcd_menu *menu, enum menu_entry_func_entr if (entry_type != MENU_ENTRY_CONTINUE) { menu_changed = true; menu_display_clear(menu); - update_display_buffer(0, sd_card_is_mounted() ? "Main Menu [SD]" : "Main Menu [--]"); menu_ack_rotary_delta(menu); if (entry_type == MENU_ENTRY_FIRST_ENTER) { list.entry_names = root_entry_names; @@ -801,6 +800,8 @@ static void gui_menu_root_entry(struct lcd_menu *menu, enum menu_entry_func_entr } } + update_display_buffer(0, sd_card_is_mounted() ? "Main Menu [SD]" : "Main Menu [--]"); + push_button = menu_get_button_state(menu); rot_delta = menu_get_rotary_delta(menu);