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>
This commit is contained in:
parent
a1c61563a0
commit
c0380d0280
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue