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
c1dd9bda
Commit
c1dd9bda
authored
9 years ago
by
Scott Lahteine
Browse files
Options
Downloads
Plain Diff
Merge pull request #1987 from thinkyhead/fix_homing_zpos
Disable endstops between homing bumps
parents
8c28e36e
71a0b1a5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Marlin/Marlin_main.cpp
+6
-0
6 additions, 0 deletions
Marlin/Marlin_main.cpp
with
6 additions
and
0 deletions
Marlin/Marlin_main.cpp
+
6
−
0
View file @
c1dd9bda
...
...
@@ -1546,11 +1546,15 @@ static void homeaxis(AxisEnum axis) {
current_position
[
axis
]
=
0
;
sync_plan_position
();
enable_endstops
(
false
);
// Disable endstops while moving away
// Move away from the endstop by the axis HOME_BUMP_MM
destination
[
axis
]
=
-
home_bump_mm
(
axis
)
*
axis_home_dir
;
line_to_destination
();
st_synchronize
();
enable_endstops
(
true
);
// Enable endstops for next homing move
// Slow down the feedrate for the next move
set_homing_bump_feedrate
(
axis
);
...
...
@@ -1587,10 +1591,12 @@ static void homeaxis(AxisEnum axis) {
#ifdef DELTA
// retrace by the amount specified in endstop_adj
if
(
endstop_adj
[
axis
]
*
axis_home_dir
<
0
)
{
enable_endstops
(
false
);
// Disable endstops while moving away
sync_plan_position
();
destination
[
axis
]
=
endstop_adj
[
axis
];
line_to_destination
();
st_synchronize
();
enable_endstops
(
true
);
// Enable endstops for next homing move
}
#endif
...
...
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