Explorar o código

Revert menu hack

Alex Voinea %!s(int64=3) %!d(string=hai) anos
pai
achega
cfe8444fe3
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      Firmware/menu.cpp

+ 0 - 2
Firmware/menu.cpp

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