🚸 Fix BLTouch HSMode deploy (#26311)

This commit is contained in:
Erkan Ozgur Yilmaz 2023-11-30 22:52:11 +00:00 committed by GitHub
parent 3d8e3c3c9a
commit fe8266b591
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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); thermalManager.wait_for_hotend_heating(active_extruder);
#endif #endif
// Ensure the BLTouch is deployed. Does nothing if already deployed. #if ENABLED(BLTOUCH)
if (TERN0(BLTOUCH, bltouch.deploy())) return true; // 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)) #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 #endif
// Disable stealthChop if used. Enable diag1 pin on driver. // Disable stealthChop if used. Enable diag1 pin on driver.