Skip to content

Commit

Permalink
🚸 Fix BLTouch HSMode deploy (MarlinFirmware#26311)
Browse files Browse the repository at this point in the history
  • Loading branch information
eoyilmaz authored and classicrocker883 committed Dec 26, 2023
1 parent 2bdb776 commit ff420c5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Marlin/src/module/probe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,11 +596,15 @@ bool Probe::probe_down_to_z(const_float_t z, const_feedRate_t fr_mm_s) {
thermalManager.wait_for_hotend_heating(active_extruder);
#endif

// Ensure the BLTouch is deployed. Does nothing if already deployed.
if (TERN0(BLTOUCH, bltouch.deploy())) return true;
#if ENABLED(BLTOUCH)
// Ensure the BLTouch is deployed. (Does nothing if already deployed.)
// Don't deploy with high_speed_mode enabled. The probe already re-deploys itself.
if (TERN(MEASURE_BACKLASH_WHEN_PROBING, true, !bltouch.high_speed_mode) && bltouch.deploy())
return true;
#endif

#if HAS_Z_SERVO_PROBE && (ENABLED(Z_SERVO_INTERMEDIATE_STOW) || defined(Z_SERVO_MEASURE_ANGLE))
probe_specific_action(true); // Always re-deploy in this case
probe_specific_action(true); // Always re-deploy in this case
#endif

// Disable stealthChop if used. Enable diag1 pin on driver.
Expand Down

0 comments on commit ff420c5

Please sign in to comment.