mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-22 17:52:57 +00:00
🚸 Enabled probe clearance in do_move_after_z_homing (#27593)
This commit is contained in:
parent
85ebd170a9
commit
b7358449e0
1 changed files with 5 additions and 1 deletions
|
@ -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() {
|
void do_move_after_z_homing() {
|
||||||
DEBUG_SECTION(mzah, "do_move_after_z_homing", DEBUGGING(LEVELING));
|
DEBUG_SECTION(mzah, "do_move_after_z_homing", DEBUGGING(LEVELING));
|
||||||
#ifdef Z_POST_CLEARANCE
|
#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)
|
#elif ENABLED(USE_PROBE_FOR_Z_HOMING)
|
||||||
probe.move_z_after_probing();
|
probe.move_z_after_probing();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue