Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
marlin-anet-a8
Commits
6341aefd
Commit
6341aefd
authored
5 years ago
by
Scott Lahteine
Browse files
Options
Downloads
Patches
Plain Diff
Info menu tweak style
parent
0f386d06
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Marlin/src/lcd/menu/menu_info.cpp
+17
-13
17 additions, 13 deletions
Marlin/src/lcd/menu/menu_info.cpp
with
17 additions
and
13 deletions
Marlin/src/lcd/menu/menu_info.cpp
+
17
−
13
View file @
6341aefd
...
...
@@ -187,7 +187,22 @@ void menu_info_board() {
//
// About Printer > Printer Info
//
#if DISABLED(LCD_PRINTER_INFO_IS_BOOTSCREEN)
#if ENABLED(LCD_PRINTER_INFO_IS_BOOTSCREEN)
void
menu_show_marlin_bootscreen
()
{
if
(
ui
.
use_click
())
{
ui
.
goto_previous_screen_no_defer
();
}
ui
.
draw_marlin_bootscreen
();
}
#if ENABLED(SHOW_CUSTOM_BOOTSCREEN)
void
menu_show_custom_bootscreen
()
{
if
(
ui
.
use_click
())
{
ui
.
goto_screen
(
menu_show_marlin_bootscreen
);
}
ui
.
draw_custom_bootscreen
();
}
#endif
#else
void
menu_info_printer
()
{
if
(
ui
.
use_click
())
return
ui
.
goto_previous_screen
(
#if ENABLED(TURBO_BACK_MENU_ITEM)
...
...
@@ -214,19 +229,8 @@ void menu_info_board() {
#endif
END_SCREEN
();
}
#else
void
menu_show_marlin_bootscreen
()
{
if
(
ui
.
use_click
())
{
ui
.
goto_previous_screen_no_defer
();
}
ui
.
draw_marlin_bootscreen
();
}
#if ENABLED(SHOW_CUSTOM_BOOTSCREEN)
void
menu_show_custom_bootscreen
()
{
if
(
ui
.
use_click
())
{
ui
.
goto_screen
(
menu_show_marlin_bootscreen
);
}
ui
.
draw_custom_bootscreen
();
}
#endif
#endif // LCD_PRINTER_INFO_IS_BOOTSCREEN
#endif
//
// "About Printer" submenu
...
...
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