Followup to static CardReader
This commit is contained in:
parent
7ee5894360
commit
8ebb4dc294
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue