In G28 Z is sort-of known

This commit is contained in:
Scott Lahteine 2020-07-29 20:50:10 -05:00 committed by Scott Lahteine
parent bb21d79321
commit 0c1bf01cf7

View file

@ -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, true, DISABLED(UNKNOWN_Z_NO_RAISE));
}
#if ENABLED(QUICK_HOME)