tmc: Fix number of arguments in phase endstop warning (#5184)

Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net>
This commit is contained in:
D4SK
2022-01-23 02:41:44 +01:00
committed by GitHub
parent f97fd7c6e3
commit 2f1edac922

View File

@@ -313,7 +313,7 @@ class TMCCommandHelper:
moff = (phase - stepper.get_mcu_position()) % phases
if self.mcu_phase_offset is not None and self.mcu_phase_offset != moff:
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
# Stepper enable/disable tracking
def _do_enable(self, print_time):