mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-18 15:21:25 +00:00
🩹 Fix BLTouch stow in homeaxis(Z)
This commit is contained in:
parent
25e5a3597f
commit
c4aa39dc86
1 changed files with 8 additions and 8 deletions
|
@ -2153,12 +2153,12 @@ void prepare_line_to_destination() {
|
|||
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Home Fast: ", move_length, "mm");
|
||||
do_homing_move(axis, move_length, 0.0, !use_probe_bump);
|
||||
|
||||
#if BOTH(HOMING_Z_WITH_PROBE, BLTOUCH)
|
||||
if (axis == Z_AXIS && !bltouch.high_speed_mode) bltouch.stow(); // Intermediate STOW (in LOW SPEED MODE)
|
||||
#endif
|
||||
|
||||
// If a second homing move is configured...
|
||||
if (bump) {
|
||||
#if BOTH(HOMING_Z_WITH_PROBE, BLTOUCH)
|
||||
if (axis == Z_AXIS && !bltouch.high_speed_mode) bltouch.stow(); // Intermediate STOW (in LOW SPEED MODE)
|
||||
#endif
|
||||
|
||||
// Move away from the endstop by the axis HOMING_BUMP_MM
|
||||
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Move Away: ", -bump, "mm");
|
||||
do_homing_move(axis, -bump, TERN(HOMING_Z_WITH_PROBE, (axis == Z_AXIS ? z_probe_fast_mm_s : 0), 0), false);
|
||||
|
@ -2209,12 +2209,12 @@ void prepare_line_to_destination() {
|
|||
const float rebump = bump * 2;
|
||||
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Re-bump: ", rebump, "mm");
|
||||
do_homing_move(axis, rebump, get_homing_bump_feedrate(axis), true);
|
||||
|
||||
#if BOTH(HOMING_Z_WITH_PROBE, BLTOUCH)
|
||||
if (axis == Z_AXIS) bltouch.stow(); // The final STOW
|
||||
#endif
|
||||
}
|
||||
|
||||
#if BOTH(HOMING_Z_WITH_PROBE, BLTOUCH)
|
||||
if (axis == Z_AXIS) bltouch.stow(); // The final STOW
|
||||
#endif
|
||||
|
||||
#if HAS_EXTRA_ENDSTOPS
|
||||
const bool pos_dir = axis_home_dir > 0;
|
||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||
|
|
Loading…
Reference in a new issue