mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-03-10 16:43:08 +00:00
🩹 Fix G35 "Probing Failed" output (#26780)
This commit is contained in:
parent
c0264ae787
commit
e0222d3e01
1 changed files with 5 additions and 3 deletions
|
@ -95,9 +95,11 @@ void GcodeSuite::G35() {
|
|||
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);
|
||||
if (isnan(z_probed_height)) {
|
||||
SERIAL_ECHO(
|
||||
F("G35 failed at point "), i + 1, 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
|
||||
SERIAL_ECHOLN(
|
||||
F("G35 failed at point "), i + 1,
|
||||
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;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue