Browse Source

Followup to static CardReader

Scott Lahteine 6 years ago
parent
commit
8ebb4dc294
1 changed files with 1 additions and 7 deletions
  1. 1
    7
      Marlin/src/lcd/menu/menu_main.cpp

+ 1
- 7
Marlin/src/lcd/menu/menu_main.cpp View File

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();

Loading…
Cancel
Save