From 4c3054d87e3ab949a00685dd7974a055ec82026b Mon Sep 17 00:00:00 2001 From: Zeanon Date: Mon, 3 Jun 2024 20:52:31 +0200 Subject: [PATCH] Update beacon.py --- beacon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon.py b/beacon.py index ae86a92..176b6b1 100644 --- a/beacon.py +++ b/beacon.py @@ -1485,6 +1485,7 @@ def set_max_accel(value): gcode.run_script_from_command("SET_VELOCITY_LIMIT ACCEL=%.3f" % (value,)) homing_state = BeaconHomingState(self.printer) + homing_state.set_calibrating(True) self.printer.send_event("homing:home_rails_begin", homing_state, []) self.mcu_contact_probe.activate_gcode.run_gcode_from_command() try: @@ -1562,7 +1563,6 @@ def set_max_accel(value): self.toolhead.wait_moves() self.toolhead.flush_step_generation() self.last_probe_result = "ok" - homing_state.set_calibrating(True) self.printer.send_event("homing:home_rails_end", homing_state, []) if gcmd.get_int("SKIP_MODEL_CREATION", 0) == 0: self._calibrate(gcmd, force_pos, force_pos[2], True, True)