diff options
Diffstat (limited to 'klippy/stepper.py')
-rw-r--r-- | klippy/stepper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/stepper.py b/klippy/stepper.py index a2fda545..eac1d263 100644 --- a/klippy/stepper.py +++ b/klippy/stepper.py @@ -36,7 +36,7 @@ class PrinterStepper: else: self.homing_endstop_accuracy = int(math.ceil( endstop_accuracy * self.inv_step_dist)) - if self.homing_endstop_accuracy >= self.homing_stepper_phases/2: + if self.homing_endstop_accuracy >= self.homing_stepper_phases // 2: logging.info("Endstop for %s is not accurate enough for stepper" " phase adjustment" % (name,)) self.homing_stepper_phases = None |