mirror of https://github.com/Desuuuu/klipper.git
quad_gantry_level: Use new GCodeCommand wrappers
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
d4adeda76b
commit
57ca91a875
|
@ -37,9 +37,9 @@ class QuadGantryLevel:
|
||||||
desc=self.cmd_QUAD_GANTRY_LEVEL_help)
|
desc=self.cmd_QUAD_GANTRY_LEVEL_help)
|
||||||
cmd_QUAD_GANTRY_LEVEL_help = (
|
cmd_QUAD_GANTRY_LEVEL_help = (
|
||||||
"Conform a moving, twistable gantry to the shape of a stationary bed")
|
"Conform a moving, twistable gantry to the shape of a stationary bed")
|
||||||
def cmd_QUAD_GANTRY_LEVEL(self, params):
|
def cmd_QUAD_GANTRY_LEVEL(self, gcmd):
|
||||||
self.retry_helper.start(params)
|
self.retry_helper.start(gcmd)
|
||||||
self.probe_helper.start_probe(params)
|
self.probe_helper.start_probe(gcmd)
|
||||||
def probe_finalize(self, offsets, positions):
|
def probe_finalize(self, offsets, positions):
|
||||||
# Mirror our perspective so the adjustments make sense
|
# Mirror our perspective so the adjustments make sense
|
||||||
# from the perspective of the gantry
|
# from the perspective of the gantry
|
||||||
|
|
Loading…
Reference in New Issue