Browse Source

Fix "Probing mesh point" message

Closes #17770

Co-Authored-By: Jan-Gerard van der Toorn <jan-gerard@users.noreply.github.com>
Scott Lahteine 5 years ago
parent
commit
ea520e670a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/gcode/bedlevel/abl/G29.cpp

+ 1
- 1
Marlin/src/gcode/bedlevel/abl/G29.cpp View File

@@ -643,7 +643,7 @@ G29_TYPE GcodeSuite::G29() {
643 643
           // Avoid probing outside the round or hexagonal area
644 644
           if (TERN0(IS_KINEMATIC, !probe.can_reach(probePos))) continue;
645 645
 
646
-          if (verbose_level) SERIAL_ECHOLNPAIR("Probing mesh point ", int(pt_index), "/", int(GRID_MAX_POINTS), ".");
646
+          if (verbose_level) SERIAL_ECHOLNPAIR("Probing mesh point ", int(pt_index), "/", abl_points, ".");
647 647
           TERN_(HAS_DISPLAY, ui.status_printf_P(0, PSTR(S_FMT " %i/%i"), GET_TEXT(MSG_PROBING_MESH), int(pt_index), int(GRID_MAX_POINTS)));
648 648
 
649 649
           measured_z = faux ? 0.001f * random(-100, 101) : probe.probe_at_point(probePos, raise_after, verbose_level);

Loading…
Cancel
Save