aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras')
-rw-r--r--klippy/extras/gcode_arcs.py2
-rw-r--r--klippy/extras/tuning_tower.py2
2 files changed, 2 insertions, 2 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']
diff --git a/klippy/extras/tuning_tower.py b/klippy/extras/tuning_tower.py
index 5ff06086..dcdc67fe 100644
--- a/klippy/extras/tuning_tower.py
+++ b/klippy/extras/tuning_tower.py
@@ -58,7 +58,7 @@ class TuningTower:
self.end_test()
else:
# Process update
- z_offset = self.gcode.get_status(None)['base_zpos']
+ z_offset = self.gcode.get_status()['base_zpos']
oldval = self.calc_value(self.last_z - z_offset)
newval = self.calc_value(z - z_offset)
self.last_z = z