From 36ca639e1f345b190431eacef80fdebe6403f2a2 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 28 Feb 2021 18:04:20 -0500 Subject: [PATCH] tmc: No need to delay init on a stepper enable Signed-off-by: Kevin O'Connor --- klippy/extras/tmc.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/klippy/extras/tmc.py b/klippy/extras/tmc.py index 11073e40..d3249540 100644 --- a/klippy/extras/tmc.py +++ b/klippy/extras/tmc.py @@ -230,11 +230,10 @@ class TMCCommandHelper: # Stepper enable/disable tracking def _do_enable(self, print_time): try: - print_time -= 0.100 # Schedule slightly before deadline if self.toff is not None: # Shared enable via comms handling - val = self.fields.set_field("toff", self.toff) - self._init_registers(print_time) + self.fields.set_field("toff", self.toff) + self._init_registers() self.echeck_helper.start_checks() except self.printer.command_error as e: self.printer.invoke_shutdown(str(e))