diff --git a/klippy/extras/homing_override.py b/klippy/extras/homing_override.py index 5e258d91..06b497a4 100644 --- a/klippy/extras/homing_override.py +++ b/klippy/extras/homing_override.py @@ -53,9 +53,11 @@ class HomingOverride: toolhead.set_position(pos, homing_axes=homing_axes) self.gcode.reset_last_position() # Perform homing + kwparams = { 'printer': self.template.create_status_wrapper() } + kwparams['params'] = params try: self.in_script = True - self.template.run_gcode_from_command() + self.template.run_gcode_from_command(kwparams) finally: self.in_script = False