mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-30 15:26:18 +00:00
Move lcd_autostart_sd to its logical place
This commit is contained in:
parent
056b80dc53
commit
6730408ec1
@ -528,13 +528,6 @@ static void lcd_main_menu() {
|
|||||||
END_MENU();
|
END_MENU();
|
||||||
}
|
}
|
||||||
|
|
||||||
#if ENABLED(SDSUPPORT) && ENABLED(MENU_ADDAUTOSTART)
|
|
||||||
static void lcd_autostart_sd() {
|
|
||||||
card.autostart_index = 0;
|
|
||||||
card.setroot();
|
|
||||||
card.checkautostart(true);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the home offset based on the current_position
|
* Set the home offset based on the current_position
|
||||||
@ -850,6 +843,15 @@ void lcd_cooldown() {
|
|||||||
lcd_return_to_status();
|
lcd_return_to_status();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if ENABLED(SDSUPPORT) && ENABLED(MENU_ADDAUTOSTART)
|
||||||
|
|
||||||
|
static void lcd_autostart_sd() {
|
||||||
|
card.autostart_index = 0;
|
||||||
|
card.setroot();
|
||||||
|
card.checkautostart(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* "Prepare" submenu
|
* "Prepare" submenu
|
||||||
|
Loading…
Reference in New Issue
Block a user