From 2f1edac9222d0a106ae533ebaf762d419861d586 Mon Sep 17 00:00:00 2001 From: D4SK <42315676+D4SK@users.noreply.github.com> Date: Sun, 23 Jan 2022 02:41:44 +0100 Subject: [PATCH] tmc: Fix number of arguments in phase endstop warning (#5184) Signed-off-by: Konstantin Vogel --- klippy/extras/tmc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/extras/tmc.py b/klippy/extras/tmc.py index 6a59bbfb..0c5036f9 100644 --- a/klippy/extras/tmc.py +++ b/klippy/extras/tmc.py @@ -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):