aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-03-31 14:38:09 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-03-31 14:38:09 -0400
commitc0380d02807b4e55b2ba4ac4eb8ee99d3dbab05a (patch)
tree31c94a474060196de2054e9d4f7f84661070148d
parenta1c61563a0312c9c9f7c050e4a7588537585e49a (diff)
downloadkutter-c0380d02807b4e55b2ba4ac4eb8ee99d3dbab05a.tar.gz
kutter-c0380d02807b4e55b2ba4ac4eb8ee99d3dbab05a.tar.xz
kutter-c0380d02807b4e55b2ba4ac4eb8ee99d3dbab05a.zip
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 <kevin@koconnor.net>
-rw-r--r--klippy/stepper.py2
1 files changed, 2 insertions, 0 deletions
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')