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 authored and GitHub committed 2022-01-22 20:41:44 -05:00
1 parent f97fd7c6e3
commit 2f1edac922
1 file changed
+1 -1
+1 -1
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):