Skip to main content
Homepage
Explore
Search or go to…
/
Register
Sign in
Explore
Primary navigation
Project
M
marlin-anet-a8
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
marlin-anet-a8
Commits
14ddda28
Commit
14ddda28
authored
Dec 27, 2018
by
InsanityAutomation
Committed by
Scott Lahteine
Dec 27, 2018
Browse files
Options
Downloads
Patches
Plain Diff
Confirmation on Abort SD print (#12717)
parent
f8c5d318
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Marlin/src/lcd/menu/menu_main.cpp
+9
-1
9 additions, 1 deletion
Marlin/src/lcd/menu/menu_main.cpp
with
9 additions
and
1 deletion
Marlin/src/lcd/menu/menu_main.cpp
+
9
−
1
View file @
14ddda28
...
@@ -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
);
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment