|
|
|
|
949
|
g29_repetition_cnt = 1; // do exactly one mesh location. Otherwise use what the parser decided.
|
949
|
g29_repetition_cnt = 1; // do exactly one mesh location. Otherwise use what the parser decided.
|
950
|
|
950
|
|
951
|
#if ENABLED(UBL_MESH_EDIT_MOVES_Z)
|
951
|
#if ENABLED(UBL_MESH_EDIT_MOVES_Z)
|
952
|
- const float h_offset = parser.seenval('H') ? parser.value_linear_units() : 0;
|
|
|
|
|
952
|
+ const float h_offset = parser.seenval('H') ? parser.value_linear_units() : MANUAL_PROBE_START_Z;
|
953
|
if (!WITHIN(h_offset, 0, 10)) {
|
953
|
if (!WITHIN(h_offset, 0, 10)) {
|
954
|
SERIAL_ECHOLNPGM("Offset out of bounds. (0 to 10mm)\n");
|
954
|
SERIAL_ECHOLNPGM("Offset out of bounds. (0 to 10mm)\n");
|
955
|
return;
|
955
|
return;
|
|
|
|
|
970
|
|
970
|
|
971
|
do_blocking_move_to_xy_z(pos, Z_CLEARANCE_BETWEEN_PROBES); // Move to the given XY with probe clearance
|
971
|
do_blocking_move_to_xy_z(pos, Z_CLEARANCE_BETWEEN_PROBES); // Move to the given XY with probe clearance
|
972
|
|
972
|
|
973
|
- TERN_(UBL_MESH_EDIT_MOVES_Z, do_blocking_move_to_z(h_offset)); // Move Z to the given 'H' offset
|
|
|
974
|
-
|
|
|
975
|
MeshFlags done_flags{0};
|
973
|
MeshFlags done_flags{0};
|
976
|
const xy_int8_t &lpos = location.pos;
|
974
|
const xy_int8_t &lpos = location.pos;
|
977
|
do {
|
975
|
do {
|