Przeglądaj źródła

Followup to static CardReader

Scott Lahteine 6 lat temu
rodzic
commit
8ebb4dc294
1 zmienionych plików z 1 dodań i 7 usunięć
  1. 1
    7
      Marlin/src/lcd/menu/menu_main.cpp

+ 1
- 7
Marlin/src/lcd/menu/menu_main.cpp Wyświetl plik

@@ -63,12 +63,6 @@
63 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 66
 #endif // SDSUPPORT
73 67
 
74 68
 void menu_tune();
@@ -157,7 +151,7 @@ void menu_main() {
157 151
   //
158 152
   #if ENABLED(SDSUPPORT) && ENABLED(MENU_ADDAUTOSTART)
159 153
     if (!busy)
160
-      MENU_ITEM(function, MSG_AUTOSTART, lcd_autostart_sd);
154
+      MENU_ITEM(function, MSG_AUTOSTART, card.beginautostart);
161 155
   #endif
162 156
 
163 157
   END_MENU();

Ładowanie…
Anuluj
Zapisz