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
409d7378
Commit
409d7378
authored
5 years ago
by
InsanityAutomation
Committed by
Scott Lahteine
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add Probe Offsets menu (#16444)
parent
669fe740
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Marlin/src/lcd/language/language_en.h
+3
-0
3 additions, 0 deletions
Marlin/src/lcd/language/language_en.h
Marlin/src/lcd/menu/menu_advanced.cpp
+17
-0
17 additions, 0 deletions
Marlin/src/lcd/menu/menu_advanced.cpp
with
20 additions
and
0 deletions
Marlin/src/lcd/language/language_en.h
+
3
−
0
View file @
409d7378
...
...
@@ -393,6 +393,9 @@ namespace Language_en {
PROGMEM
Language_Str
MSG_MANUAL_DEPLOY
=
_UxGT
(
"Deploy Z-Probe"
);
PROGMEM
Language_Str
MSG_MANUAL_STOW
=
_UxGT
(
"Stow Z-Probe"
);
PROGMEM
Language_Str
MSG_HOME_FIRST
=
_UxGT
(
"Home %s%s%s First"
);
PROGMEM
Language_Str
MSG_ZPROBE_OFFSETS
=
_UxGT
(
"Probe Offsets"
);
PROGMEM
Language_Str
MSG_ZPROBE_XOFFSET
=
_UxGT
(
"Probe X Offset"
);
PROGMEM
Language_Str
MSG_ZPROBE_YOFFSET
=
_UxGT
(
"Probe Y Offset"
);
PROGMEM
Language_Str
MSG_ZPROBE_ZOFFSET
=
_UxGT
(
"Probe Z Offset"
);
PROGMEM
Language_Str
MSG_BABYSTEP_X
=
_UxGT
(
"Babystep X"
);
PROGMEM
Language_Str
MSG_BABYSTEP_Y
=
_UxGT
(
"Babystep Y"
);
...
...
This diff is collapsed.
Click to expand it.
Marlin/src/lcd/menu/menu_advanced.cpp
+
17
−
0
View file @
409d7378
...
...
@@ -501,6 +501,18 @@ void menu_cancelobject();
END_MENU
();
}
// M851 - Z Probe Offsets
#if HAS_BED_PROBE
void
menu_probe_offsets
()
{
START_MENU
();
BACK_ITEM
(
MSG_ADVANCED_SETTINGS
);
EDIT_ITEM
(
float51
,
MSG_ZPROBE_XOFFSET
,
&
probe_offset
.
x
,
-
(
X_BED_SIZE
),
X_BED_SIZE
);
EDIT_ITEM
(
float51
,
MSG_ZPROBE_YOFFSET
,
&
probe_offset
.
y
,
-
(
Y_BED_SIZE
),
Y_BED_SIZE
);
EDIT_ITEM
(
LCD_Z_OFFSET_TYPE
,
MSG_ZPROBE_ZOFFSET
,
&
probe_offset
.
z
,
Z_PROBE_OFFSET_RANGE_MIN
,
Z_PROBE_OFFSET_RANGE_MAX
);
END_MENU
();
}
#endif
#endif // !SLIM_LCD_MENUS
void
menu_advanced_settings
()
{
...
...
@@ -531,6 +543,11 @@ void menu_advanced_settings() {
if
(
!
printer_busy
())
{
// M92 - Steps Per mm
SUBMENU
(
MSG_STEPS_PER_MM
,
menu_advanced_steps_per_mm
);
#if HAS_BED_PROBE
// M851 - Z Probe Offsets
SUBMENU
(
MSG_ZPROBE_OFFSETS
,
menu_probe_offsets
);
#endif
}
#endif // !SLIM_LCD_MENUS
...
...
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