mirror of
git://soft.sys114.com/klipper
synced 2026-02-10 23:28:07 +09:00
tmc: Fix number of arguments in phase endstop warning (#5184)
Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net>
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user