gcode: fix for GET_POSITION (#454)
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
0dbfa915de
commit
b91b0f24db
|
@ -609,7 +609,10 @@ class GCodeParser:
|
|||
self.cmd_default(params)
|
||||
return
|
||||
kin = self.toolhead.get_kinematics()
|
||||
steppers = kin.get_steppers()
|
||||
steppers = []
|
||||
rails = kin.get_rails()
|
||||
for rail in rails:
|
||||
steppers += rail.get_steppers()
|
||||
mcu_pos = " ".join(["%s:%d" % (s.get_name(), s.get_mcu_position())
|
||||
for s in steppers])
|
||||
stepper_pos = " ".join(
|
||||
|
|
Loading…
Reference in New Issue