mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-10 00:07:54 -06:00
mcu: Use is_fileoutput() externally
Use mcu.is_fileoutput() instead of looking up the "debugoutput" flag in the start args. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
f1c2f789b6
commit
b9586bad18
3 changed files with 4 additions and 4 deletions
|
@ -95,7 +95,7 @@ class PrinterHomingStepper(PrinterStepper):
|
|||
logging.info("Endstop for %s is not accurate enough for stepper"
|
||||
" phase adjustment" % (name,))
|
||||
self.homing_stepper_phases = None
|
||||
if printer.get_start_args().get('debugoutput') is not None:
|
||||
if self.mcu_endstop.get_mcu().is_fileoutput():
|
||||
self.homing_endstop_accuracy = self.homing_stepper_phases
|
||||
def enable_endstop_checking(self, move_time, step_time):
|
||||
mcu_time = self.mcu_endstop.get_mcu().print_to_mcu_time(move_time)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue