Skip to content

Commit 52632ec

Browse files
committed
fixed a bug in probe_calibrate and probe_accuracy when running a Dockable probe
1 parent b81ff51 commit 52632ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

macros/base/probing/overides/dockable_probe_overides.cfg

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ gcode:
2323
# Safety check to protect against PROBE_CALIBRATE performed outside the bed
2424
{% if (printer['gcode_move'].position.x + probe_offset_x) >= max_bed_x
2525
or (printer['gcode_move'].position.y + probe_offset_y) >= max_bed_y
26-
or (printer['gcode_move'].position.x + probe_offset_x) <= max_bed_x
27-
or (printer['gcode_move'].position.y + probe_offset_y) <= max_bed_y %}
26+
or (printer['gcode_move'].position.x + probe_offset_x) <= min_bed_x
27+
or (printer['gcode_move'].position.y + probe_offset_y) <= min_bed_y %}
2828
{ action_raise_error("You must perform PROBE_CALIBRATE with the probe inside the BED area, check variables min/max_bed_xy !") }
2929
{% endif %}
3030

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

0 commit comments

Comments
 (0)