Followup to static CardReader

This commit is contained in:
Scott Lahteine 2018-11-17 07:04:27 -06:00
parent 7ee5894360
commit 8ebb4dc294

View File

@ -63,12 +63,6 @@
ui.return_to_status(); ui.return_to_status();
} }
#if ENABLED(MENU_ADDAUTOSTART)
inline void lcd_autostart_sd() { card.beginautostart(); }
#endif
#endif // SDSUPPORT #endif // SDSUPPORT
void menu_tune(); void menu_tune();
@ -157,7 +151,7 @@ void menu_main() {
// //
#if ENABLED(SDSUPPORT) && ENABLED(MENU_ADDAUTOSTART) #if ENABLED(SDSUPPORT) && ENABLED(MENU_ADDAUTOSTART)
if (!busy) if (!busy)
MENU_ITEM(function, MSG_AUTOSTART, lcd_autostart_sd); MENU_ITEM(function, MSG_AUTOSTART, card.beginautostart);
#endif #endif
END_MENU(); END_MENU();