aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/mcu.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-04-02 12:18:05 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-08-06 13:12:49 -0400
commit24586f0c31d9f56a16f4c2434e8a7bcb98adc802 (patch)
tree45b76683a516aa897eb75c8f84e779de0dd099d7 /klippy/mcu.py
parent33dcb3829717102f5243ad805f3ee09d52c0c9cf (diff)
downloadkutter-24586f0c31d9f56a16f4c2434e8a7bcb98adc802.tar.gz
kutter-24586f0c31d9f56a16f4c2434e8a7bcb98adc802.tar.xz
kutter-24586f0c31d9f56a16f4c2434e8a7bcb98adc802.zip
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 <kevin@koconnor.net>
Diffstat (limited to 'klippy/mcu.py')
-rw-r--r--klippy/mcu.py2
1 files changed, 1 insertions, 1 deletions
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: