|
@@ -528,13 +528,6 @@ static void lcd_main_menu() {
|
528
|
528
|
END_MENU();
|
529
|
529
|
}
|
530
|
530
|
|
531
|
|
-#if ENABLED(SDSUPPORT) && ENABLED(MENU_ADDAUTOSTART)
|
532
|
|
- static void lcd_autostart_sd() {
|
533
|
|
- card.autostart_index = 0;
|
534
|
|
- card.setroot();
|
535
|
|
- card.checkautostart(true);
|
536
|
|
- }
|
537
|
|
-#endif
|
538
|
531
|
|
539
|
532
|
/**
|
540
|
533
|
* Set the home offset based on the current_position
|
|
@@ -850,6 +843,15 @@ void lcd_cooldown() {
|
850
|
843
|
lcd_return_to_status();
|
851
|
844
|
}
|
852
|
845
|
|
|
846
|
+#if ENABLED(SDSUPPORT) && ENABLED(MENU_ADDAUTOSTART)
|
|
847
|
+
|
|
848
|
+ static void lcd_autostart_sd() {
|
|
849
|
+ card.autostart_index = 0;
|
|
850
|
+ card.setroot();
|
|
851
|
+ card.checkautostart(true);
|
|
852
|
+ }
|
|
853
|
+
|
|
854
|
+#endif
|
853
|
855
|
/**
|
854
|
856
|
*
|
855
|
857
|
* "Prepare" submenu
|