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:
@@ -54,7 +54,7 @@ class HomingOverride:
|
||||
# Perform homing
|
||||
try:
|
||||
self.in_script = True
|
||||
self.gcode.run_script(self.script)
|
||||
self.gcode.run_script_from_command(self.script)
|
||||
finally:
|
||||
self.in_script = False
|
||||
|
||||
|
Reference in New Issue
Block a user