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:
Kevin O'Connor 2018-05-14 12:31:28 -04:00
parent 6c3db80d89
commit 907cfb9105
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class PrinterHomingStepper(PrinterStepper):
endstop_accuracy / self.step_dist))
if self.homing_endstop_accuracy >= self.homing_stepper_phases // 2:
logging.info("Endstop for %s is not accurate enough for stepper"
" phase adjustment", name)
" phase adjustment", self.name)
self.homing_stepper_phases = None
if self.mcu_endstop.get_mcu().is_fileoutput():
self.homing_endstop_accuracy = self.homing_stepper_phases