Skip to content

Commit

Permalink
Fixed BLTouch HSMode broken after MarlinFirmware#26033
Browse files Browse the repository at this point in the history
  • Loading branch information
eoyilmaz committed Sep 27, 2023
1 parent 11f98ad commit de31571
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Marlin/src/module/probe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,8 +596,16 @@ 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)
#if ENABLED(MEASURE_BACKLASH_WHEN_PROBING)
// Ensure the BLTouch is deployed. Does nothing if already deployed.
if (bltouch.deploy())
return true; // Deploy in LOW SPEED MODE on every probe action
#else
if (!bltouch.high_speed_mode && bltouch.deploy())
return true; // Deploy in LOW SPEED MODE on every probe action
#endif
#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
Expand Down

0 comments on commit de31571

Please sign in to comment.