Skip to main content
Sign in
Snippets Groups Projects
Commit 14ddda28 authored by InsanityAutomation's avatar InsanityAutomation Committed by Scott Lahteine
Browse files

Confirmation on Abort SD print (#12717)

parent f8c5d318
Branches
Tags
No related merge requests found
...@@ -65,6 +65,13 @@ ...@@ -65,6 +65,13 @@
ui.return_to_status(); ui.return_to_status();
} }
void menu_sdcard_abort_confirm() {
START_MENU();
MENU_BACK(MSG_MAIN);
MENU_ITEM(function, MSG_STOP_PRINT, lcd_sdcard_stop);
END_MENU();
}
#endif // SDSUPPORT #endif // SDSUPPORT
void menu_tune(); void menu_tune();
...@@ -88,7 +95,8 @@ void menu_main() { ...@@ -88,7 +95,8 @@ void menu_main() {
MENU_ITEM(function, MSG_PAUSE_PRINT, lcd_sdcard_pause); MENU_ITEM(function, MSG_PAUSE_PRINT, lcd_sdcard_pause);
else else
MENU_ITEM(function, MSG_RESUME_PRINT, lcd_sdcard_resume); MENU_ITEM(function, MSG_RESUME_PRINT, lcd_sdcard_resume);
MENU_ITEM(function, MSG_STOP_PRINT, lcd_sdcard_stop);
MENU_ITEM(submenu, MSG_STOP_PRINT, menu_sdcard_abort_confirm);
} }
else { else {
MENU_ITEM(submenu, MSG_CARD_MENU, menu_sdcard); MENU_ITEM(submenu, MSG_CARD_MENU, menu_sdcard);
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment