浏览代码

Followup to static CardReader

Scott Lahteine 6 年前
父节点
当前提交
8ebb4dc294
共有 1 个文件被更改,包括 1 次插入7 次删除
  1. 1
    7
      Marlin/src/lcd/menu/menu_main.cpp

+ 1
- 7
Marlin/src/lcd/menu/menu_main.cpp 查看文件

63
     ui.return_to_status();
63
     ui.return_to_status();
64
   }
64
   }
65
 
65
 
66
-  #if ENABLED(MENU_ADDAUTOSTART)
67
-
68
-    inline void lcd_autostart_sd() { card.beginautostart(); }
69
-
70
-  #endif
71
-
72
 #endif // SDSUPPORT
66
 #endif // SDSUPPORT
73
 
67
 
74
 void menu_tune();
68
 void menu_tune();
157
   //
151
   //
158
   #if ENABLED(SDSUPPORT) && ENABLED(MENU_ADDAUTOSTART)
152
   #if ENABLED(SDSUPPORT) && ENABLED(MENU_ADDAUTOSTART)
159
     if (!busy)
153
     if (!busy)
160
-      MENU_ITEM(function, MSG_AUTOSTART, lcd_autostart_sd);
154
+      MENU_ITEM(function, MSG_AUTOSTART, card.beginautostart);
161
   #endif
155
   #endif
162
 
156
 
163
   END_MENU();
157
   END_MENU();

正在加载...
取消
保存