mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-07 23:17:37 -06:00
gcode: Convert get_status() last_xpos to use a namedtuple
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
2d5f9b6cda
commit
80a6f59c8f
2 changed files with 3 additions and 6 deletions
|
@ -183,11 +183,8 @@ class GCodeParser:
|
|||
'extrude_factor': self.extrude_factor,
|
||||
'absolute_coordinates': self.absolute_coord,
|
||||
'absolute_extrude': self.absolute_extrude,
|
||||
'last_xpos': self.last_position[0],
|
||||
'last_ypos': self.last_position[1],
|
||||
'last_zpos': self.last_position[2],
|
||||
'last_epos': self.last_position[3],
|
||||
'homing_origin': homing.Coord(*self.homing_position),
|
||||
'position': homing.Coord(*self.last_position),
|
||||
'gcode_position': homing.Coord(*move_position),
|
||||
}
|
||||
def dump_state(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue