adding 2mm extra clearance to the high fail on the probe.

This commit is contained in:
Brian Kahl 2021-10-11 12:38:02 -05:00
parent 0c0a7af147
commit 686c058b30

View File

@ -594,7 +594,7 @@ float Probe::run_z_probe(const bool sanity_check/*=true*/) {
// Do a first probe at the fast speed
const bool probe_fail = probe_down_to_z(z_probe_low_point, fr_mm_s), // No probe trigger?
early_fail = (scheck && current_position.z > -offset.z + clearance); // Probe triggered too high?
early_fail = (scheck && current_position.z > -offset.z + clearance + 2); // Probe triggered too high? Adding 2mm to the clearance for a wider window for a fail with M175v2.0
#if ENABLED(DEBUG_LEVELING_FEATURE)
if (DEBUGGING(LEVELING) && (probe_fail || early_fail)) {
DEBUG_ECHOPGM_P(plbl);