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
2 people authored and chrisjenda committed Apr 7, 2021
1 parent b4f25a3 commit c20cc8e
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 @@ -370,6 +370,11 @@ void GcodeSuite::G28() {
#if Z_HOME_DIR < 0

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));
Expand Down
Loading

0 comments on commit c20cc8e

Please sign in to comment.