aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/gcode_arcs.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-05-26 14:59:15 -0400
committerKevin O'Connor <kevin@koconnor.net>2020-05-26 14:59:15 -0400
commit1ab41cf41da9544046baf1db631cf7691ea65a88 (patch)
treea159368319e9e18800399513e0de7e50f5914f9b /klippy/extras/gcode_arcs.py
parentceaf818a1101ac7cfd0a13ec2f536fe3a652b7a4 (diff)
downloadkutter-1ab41cf41da9544046baf1db631cf7691ea65a88.tar.gz
kutter-1ab41cf41da9544046baf1db631cf7691ea65a88.tar.xz
kutter-1ab41cf41da9544046baf1db631cf7691ea65a88.zip
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>
Diffstat (limited to 'klippy/extras/gcode_arcs.py')
-rw-r--r--klippy/extras/gcode_arcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/gcode_arcs.py b/klippy/extras/gcode_arcs.py
index dd42017c..655b109c 100644
--- a/klippy/extras/gcode_arcs.py
+++ b/klippy/extras/gcode_arcs.py
@@ -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']