0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-22 09:42:34 +00:00

🚸 Enabled probe clearance in do_move_after_z_homing (#27593)

This commit is contained in:
Scott Lahteine 2025-01-14 13:37:48 -06:00 committed by GitHub
parent 85ebd170a9
commit b7358449e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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