Skip to content

Commit

Permalink
fixed a bug in probe_calibrate and probe_accuracy when running a Dock…
Browse files Browse the repository at this point in the history
…able probe
  • Loading branch information
Frix-x committed Apr 21, 2023
1 parent b81ff51 commit 52632ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions macros/base/probing/overides/dockable_probe_overides.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ gcode:
# Safety check to protect against PROBE_CALIBRATE performed outside the bed
{% if (printer['gcode_move'].position.x + probe_offset_x) >= max_bed_x
or (printer['gcode_move'].position.y + probe_offset_y) >= max_bed_y
or (printer['gcode_move'].position.x + probe_offset_x) <= max_bed_x
or (printer['gcode_move'].position.y + probe_offset_y) <= max_bed_y %}
or (printer['gcode_move'].position.x + probe_offset_x) <= min_bed_x
or (printer['gcode_move'].position.y + probe_offset_y) <= min_bed_y %}
{ action_raise_error("You must perform PROBE_CALIBRATE with the probe inside the BED area, check variables min/max_bed_xy !") }
{% endif %}

Expand Down Expand Up @@ -72,8 +72,8 @@ gcode:
# Safety check to protect against PROBE_ACCURACY performed outside the bed
{% if (printer['gcode_move'].position.x + probe_offset_x) >= max_bed_x
or (printer['gcode_move'].position.y + probe_offset_y) >= max_bed_y
or (printer['gcode_move'].position.x + probe_offset_x) <= max_bed_x
or (printer['gcode_move'].position.y + probe_offset_y) <= max_bed_y %}
or (printer['gcode_move'].position.x + probe_offset_x) <= min_bed_x
or (printer['gcode_move'].position.y + probe_offset_y) <= min_bed_y %}
{ action_raise_error("You must perform PROBE_ACCURACY with the probe inside the BED area, check variables min/max_bed_xy !") }
{% endif %}

Expand Down

0 comments on commit 52632ec

Please sign in to comment.