Skip to content

Commit

Permalink
G34 Z stepper locking (MarlinFirmware#20091)
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Lahteine <[email protected]>
  • Loading branch information
InsanityAutomation and thinkyhead committed Apr 26, 2021
1 parent 1543758 commit 5094a84
Show file tree
Hide file tree
Showing 6 changed files with 341 additions and 298 deletions.
5 changes: 5 additions & 0 deletions Marlin/src/gcode/calibrate/G28.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,11 @@ void GcodeSuite::G28() {
// Home Z last if homing towards the bed
#if DISABLED(HOME_Z_FIRST)
if (doZ) {
#if EITHER(Z_MULTI_ENDSTOPS, Z_STEPPER_AUTO_ALIGN)
stepper.set_all_z_lock(false);
stepper.set_separate_multi_axis(false);
#endif

TERN_(BLTOUCH, bltouch.init());
TERN(Z_SAFE_HOMING, home_z_safely(), homeaxis(Z_AXIS));
probe.move_z_after_homing();
Expand Down
Loading

0 comments on commit 5094a84

Please sign in to comment.