Skip to content

Commit

Permalink
Fixes #105 by offsetting the home position of each axis by 1mm. (#106)
Browse files Browse the repository at this point in the history
* Fixes #105 by offsetting the home position of each axis by 1mm.

* Apply homing direction multiplication.
  • Loading branch information
smohekey authored Aug 14, 2023
1 parent 4c592f0 commit 831b7a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/marlin/module/motion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1484,6 +1484,9 @@ void homeaxis(const AxisEnum axis) {
}
}

// move 1mm away from the sensors
do_homing_move(axis, -1.0 * axis_home_dir, homing_feedrate(axis), !use_probe_bump);

#if HAS_EXTRA_ENDSTOPS
// Set flags for X, Y, Z motor locking
switch (axis) {
Expand Down

0 comments on commit 831b7a8

Please sign in to comment.