🩹 Fix G35 "Probing Failed" output (#26780)
This commit is contained in:
@@ -95,9 +95,11 @@ void GcodeSuite::G35() {
|
|||||||
for (uint8_t i = 0; i < G35_PROBE_COUNT; ++i) {
|
for (uint8_t i = 0; i < G35_PROBE_COUNT; ++i) {
|
||||||
const float z_probed_height = probe.probe_at_point(tramming_points[i], PROBE_PT_RAISE);
|
const float z_probed_height = probe.probe_at_point(tramming_points[i], PROBE_PT_RAISE);
|
||||||
if (isnan(z_probed_height)) {
|
if (isnan(z_probed_height)) {
|
||||||
SERIAL_ECHO(
|
SERIAL_ECHOLN(
|
||||||
F("G35 failed at point "), i + 1, F(" ("), FPSTR(pgm_read_ptr(&tramming_point_name[i])), C(')'),
|
F("G35 failed at point "), i + 1,
|
||||||
FPSTR(SP_X_STR), tramming_points[i].x, FPSTR(SP_Y_STR), tramming_points[i].y
|
F(" ("), FPSTR(pgm_read_ptr(&tramming_point_name[i])), C(')'),
|
||||||
|
FPSTR(SP_X_STR), tramming_points[i].x,
|
||||||
|
FPSTR(SP_Y_STR), tramming_points[i].y
|
||||||
);
|
);
|
||||||
err_break = true;
|
err_break = true;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user