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>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user