Procházet zdrojové kódy

Undo stupid hack for an error because of some compiler issue in the past

Alex Voinea před 3 roky
rodič
revize
080c44cb2e
1 změnil soubory, kde provedl 2 přidání a 3 odebrání
  1. 2 3
      Firmware/ultralcd.cpp

+ 2 - 3
Firmware/ultralcd.cpp

@@ -395,10 +395,9 @@ static uint8_t menu_item_sdfile(const char* str_fn, char* str_fnl)
 		}
 		if (menu_clicked && (lcd_encoder == menu_item))
 		{
-		    lcd_consume_click();
+			lcd_consume_click();
 			menu_action_sdfile(str_fn);
-			/* return */ menu_item_ret();
-			return 1;
+			return menu_item_ret();
 		}
 	}
 	menu_item++;