Skip to content

Commit

Permalink
fix using always max_deviation instead of offset_margins
Browse files Browse the repository at this point in the history
  • Loading branch information
TitusLabs committed May 8, 2023
1 parent b51d9f9 commit 7a09913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion z_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def __init__(self, config):
self.printer = config.get_printer()
self.switch_offset = config.getfloat('switch_offset', 0.0, above=0.)
# max_deviation is deprecated
self.max_deviation = config.getfloat('max_deviation', 1.0, above=0.)
self.max_deviation = config.getfloat('max_deviation', None, above=0.)
self.offset_margins = self._get_offset_margins('offset_margins',
'-1.0,1.0')
self.speed = config.getfloat('speed', 50.0, above=0.)
Expand Down

0 comments on commit 7a09913

Please sign in to comment.