From b7358449e0786c8d7230a19f4ded4ec3f9bdb3e9 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 14 Jan 2025 13:37:48 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20Enabled=20probe=20clearance=20in?= =?UTF-8?q?=20do=5Fmove=5Fafter=5Fz=5Fhoming=20(#27593)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/module/motion.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Marlin/src/module/motion.cpp b/Marlin/src/module/motion.cpp index fe9038a6b8a6..dc218290a027 100644 --- a/Marlin/src/module/motion.cpp +++ b/Marlin/src/module/motion.cpp @@ -1309,7 +1309,11 @@ void do_blocking_move_to(const xyze_pos_t &raw, const_feedRate_t fr_mm_s/*=0.0f* void do_move_after_z_homing() { DEBUG_SECTION(mzah, "do_move_after_z_homing", DEBUGGING(LEVELING)); #ifdef Z_POST_CLEARANCE - do_z_clearance(Z_POST_CLEARANCE, true, true); + do_z_clearance( + Z_POST_CLEARANCE, + ALL(HOMING_Z_WITH_PROBE, HAS_STOWABLE_PROBE) && TERN0(HAS_BED_PROBE, endstops.z_probe_enabled), + true + ); #elif ENABLED(USE_PROBE_FOR_Z_HOMING) probe.move_z_after_probing(); #endif