Skip to content

Commit

Permalink
Update beacon.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeanon committed Jun 3, 2024
1 parent 2c6ba93 commit 4c3054d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 4c3054d

Please sign in to comment.