Browse Source

Fix compiler bug ... again ...

:endit: :blobhydraulicpress:
Alex Voinea 3 years ago
parent
commit
e6ffc99ff5
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Firmware/ultralcd.cpp

+ 2 - 1
Firmware/ultralcd.cpp

@@ -392,7 +392,8 @@ static uint8_t menu_item_sdfile(const char* str_fn, char* str_fnl)
 		{
 			lcd_consume_click();
 			menu_action_sdfile(str_fn);
-			return menu_item_ret();
+			/* return */ menu_item_ret();
+			return 1;
 		}
 	}
 	menu_item++;