Skip to content

Commit

Permalink
z_tilt: return done when reties is 0 (Klipper3d#6766)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Krause <[email protected]>
  • Loading branch information
krautech authored Dec 19, 2024
1 parent cb13ee7 commit 80d185c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klippy/extras/z_tilt.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def check_increase(self, error):
return self.increasing > 1
def check_retry(self, z_positions):
if self.max_retries == 0:
return
return "done"
error = round(max(z_positions) - min(z_positions),6)
self.gcode.respond_info(
"Retries: %d/%d %s: %0.6f tolerance: %0.6f" % (
Expand Down

0 comments on commit 80d185c

Please sign in to comment.