Skip to content

Commit

Permalink
🚸 Enabled probe clearance in do_move_after_z_homing
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jan 14, 2025
1 parent 70cdfbe commit 27c4eda
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Marlin/src/module/motion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27c4eda

Please sign in to comment.