mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-09 07:56:26 -06:00
gcode: Make it clear that gcode.get_status() can be called without eventtime
Make it clear that gcode.get_status() to be called without an eventtime by defaulting eventtime=None. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
ceaf818a11
commit
1ab41cf41d
3 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ class ArcSupport:
|
|||
self.gcode.register_command("G3", self.cmd_G2)
|
||||
|
||||
def cmd_G2(self, gcmd):
|
||||
gcodestatus = self.gcode.get_status(None)
|
||||
gcodestatus = self.gcode.get_status()
|
||||
if not gcodestatus['absolute_coordinates']:
|
||||
raise self.gcode.error("G2/G3 does not support relative move mode")
|
||||
currentPos = gcodestatus['gcode_position']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue