gcode: Rename run_script() to run_script_from_command()
Emphasize that the run_script() method is only valid when run from a g-code command. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -28,7 +28,7 @@ class DeltaCalibrate:
|
||||
desc=self.cmd_DELTA_CALIBRATE_help)
|
||||
cmd_DELTA_CALIBRATE_help = "Delta calibration script"
|
||||
def cmd_DELTA_CALIBRATE(self, params):
|
||||
self.gcode.run_script("G28")
|
||||
self.gcode.run_script_from_command("G28")
|
||||
self.probe_helper.start_probe()
|
||||
def get_probed_position(self):
|
||||
kin = self.printer.lookup_object('toolhead').get_kinematics()
|
||||
|
||||
Reference in New Issue
Block a user