stepper: Fix typo in error report - name should be self.name
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
6c3db80d89
commit
907cfb9105
|
@ -136,7 +136,7 @@ class PrinterHomingStepper(PrinterStepper):
|
||||||
endstop_accuracy / self.step_dist))
|
endstop_accuracy / self.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"
|
logging.info("Endstop for %s is not accurate enough for stepper"
|
||||||
" phase adjustment", name)
|
" phase adjustment", self.name)
|
||||||
self.homing_stepper_phases = None
|
self.homing_stepper_phases = None
|
||||||
if self.mcu_endstop.get_mcu().is_fileoutput():
|
if self.mcu_endstop.get_mcu().is_fileoutput():
|
||||||
self.homing_endstop_accuracy = self.homing_stepper_phases
|
self.homing_endstop_accuracy = self.homing_stepper_phases
|
||||||
|
|
Loading…
Reference in New Issue