Skip to content

Commit

Permalink
Update G28.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
swissnorp committed Jul 28, 2020
1 parent 292ac9b commit 7e6ed9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/gcode/calibrate/G28.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ void GcodeSuite::G28() {
if (z_homing_height && (doX || doY || (ENABLED(Z_SAFE_HOMING) && doZ))) {
// Raise Z before homing any other axes and z is not already high enough (never lower z)
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("Raise Z (before homing) by ", z_homing_height);
do_z_clearance(z_homing_height, TEST(axis_known_position, Z_AXIS), DISABLED(UNKNOWN_Z_NO_RAISE));
do_z_clearance(z_homing_height, (TEST(axis_known_position, Z_AXIS) || current_position.z == z_homing_height), DISABLED(UNKNOWN_Z_NO_RAISE));
}

#if ENABLED(QUICK_HOME)
Expand Down

0 comments on commit 7e6ed9f

Please sign in to comment.