mirror of https://github.com/Desuuuu/klipper.git
tmc: Fix number of arguments in phase endstop warning (#5184)
Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net>
This commit is contained in:
parent
f97fd7c6e3
commit
2f1edac922
|
@ -313,7 +313,7 @@ class TMCCommandHelper:
|
||||||
moff = (phase - stepper.get_mcu_position()) % phases
|
moff = (phase - stepper.get_mcu_position()) % phases
|
||||||
if self.mcu_phase_offset is not None and self.mcu_phase_offset != moff:
|
if self.mcu_phase_offset is not None and self.mcu_phase_offset != moff:
|
||||||
logging.warning("Stepper %s phase change (was %d now %d)",
|
logging.warning("Stepper %s phase change (was %d now %d)",
|
||||||
self.mcu_phase_offset, moff)
|
self.stepper_name, self.mcu_phase_offset, moff)
|
||||||
self.mcu_phase_offset = moff
|
self.mcu_phase_offset = moff
|
||||||
# Stepper enable/disable tracking
|
# Stepper enable/disable tracking
|
||||||
def _do_enable(self, print_time):
|
def _do_enable(self, print_time):
|
||||||
|
|
Loading…
Reference in New Issue