Revert menu hack

This commit is contained in:
Alex Voinea 2022-02-23 20:34:30 +01:00 committed by D.R.racer
parent 5484882758
commit cfe8444fe3
1 changed files with 0 additions and 2 deletions

View File

@ -130,8 +130,6 @@ void menu_back_if_clicked_fb(void)
void menu_submenu(menu_func_t submenu)
{
if (menu_menu == submenu)
return; //do not enter into the current menu.
if (menu_depth < MENU_DEPTH_MAX)
{
menu_stack[menu_depth].menu = menu_menu;