From c0380d02807b4e55b2ba4ac4eb8ee99d3dbab05a Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 31 Mar 2017 14:38:09 -0400 Subject: [PATCH] stepper: Disable homing_endstop_accuracy errors on debug runs If klippy is started in file output debugging, disable the homing_endstop_accuracy error check. Signed-off-by: Kevin O'Connor --- klippy/stepper.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/klippy/stepper.py b/klippy/stepper.py index 32a17c2b..e362dee4 100644 --- a/klippy/stepper.py +++ b/klippy/stepper.py @@ -35,6 +35,8 @@ class PrinterStepper: logging.info("Endstop for %s is not accurate enough for stepper" " phase adjustment" % (name,)) self.homing_stepper_phases = None + if printer.mcu.is_fileoutput(): + self.homing_endstop_accuracy = self.homing_stepper_phases self.position_min = self.position_endstop = self.position_max = None endstop_pin = config.get('endstop_pin', None) step_pin = config.get('step_pin')