|
@ -127,18 +127,16 @@ void GcodeSuite::G35() { |
|
|
const float z_probed_height = probe.probe_at_point(screws_tilt_adjust_pos[i], PROBE_PT_RAISE, 0, true); |
|
|
const float z_probed_height = probe.probe_at_point(screws_tilt_adjust_pos[i], PROBE_PT_RAISE, 0, true); |
|
|
|
|
|
|
|
|
if (isnan(z_probed_height)) { |
|
|
if (isnan(z_probed_height)) { |
|
|
SERIAL_ECHOLNPAIR("G35 failed at point ", int(i), " (", tramming_point_name[i], ")" |
|
|
SERIAL_ECHOPAIR("G35 failed at point ", int(i), " (", tramming_point_name[i], ")"); |
|
|
" X", screws_tilt_adjust_pos[i].x, |
|
|
SERIAL_ECHOLNPAIR_P(SP_X_STR, screws_tilt_adjust_pos[i].x, SP_Y_STR, screws_tilt_adjust_pos[i].y); |
|
|
" Y", screws_tilt_adjust_pos[i].y); |
|
|
|
|
|
err_break = true; |
|
|
err_break = true; |
|
|
break; |
|
|
break; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (DEBUGGING(LEVELING)) |
|
|
if (DEBUGGING(LEVELING)) { |
|
|
DEBUG_ECHOLNPAIR("Probing point ", int(i), " (", tramming_point_name[i], ")" |
|
|
DEBUG_ECHOPAIR("Probing point ", int(i), " (", tramming_point_name[i], ")"); |
|
|
" X", screws_tilt_adjust_pos[i].x, |
|
|
SERIAL_ECHOLNPAIR_P(SP_X_STR, screws_tilt_adjust_pos[i].x, SP_Y_STR, screws_tilt_adjust_pos[i].y, SP_Z_STR, z_probed_height); |
|
|
" Y", screws_tilt_adjust_pos[i].y, |
|
|
} |
|
|
" Z", z_probed_height); |
|
|
|
|
|
|
|
|
|
|
|
z_measured[i] = z_probed_height; |
|
|
z_measured[i] = z_probed_height; |
|
|
} |
|
|
} |
|
|