From 24586f0c31d9f56a16f4c2434e8a7bcb98adc802 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 2 Apr 2021 12:18:05 -0400 Subject: stepper: Query the stepper mcu position during startup Try to keep the host mcu_position synchronized with the micro-controller by querying during startup and after every homing event. Signed-off-by: Kevin O'Connor --- klippy/mcu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/mcu.py') diff --git a/klippy/mcu.py b/klippy/mcu.py index 1e3aa3b4..83143837 100644 --- a/klippy/mcu.py +++ b/klippy/mcu.py @@ -122,7 +122,7 @@ class MCU_trsync: params = self._trsync_query_cmd.send([self._oid, self.REASON_HOST_REQUEST]) for s in self._steppers: - s.note_homing_end(did_trigger=True) # XXX + s.note_homing_end() return params['trigger_reason'] class MCU_endstop: -- cgit v1.2.3-70-g09d2