From 7a09913cf66204792124ad7e8ed261dd475c9a62 Mon Sep 17 00:00:00 2001 From: Titus Meyer Date: Mon, 8 May 2023 23:41:36 +0200 Subject: [PATCH] fix using always max_deviation instead of offset_margins --- z_calibration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z_calibration.py b/z_calibration.py index 8c49d28..9d824c0 100644 --- a/z_calibration.py +++ b/z_calibration.py @@ -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.)