Probing points followup (#18552)
This commit is contained in:
parent
ea520e670a
commit
67db7c0294
1 changed files with 2 additions and 2 deletions
|
@ -226,7 +226,7 @@ G29_TYPE GcodeSuite::G29() {
|
|||
|
||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR)
|
||||
ABL_VAR int abl_points;
|
||||
#elif ENABLED(PROBE_MANUALLY) // Bilinear
|
||||
#else
|
||||
int constexpr abl_points = GRID_MAX_POINTS;
|
||||
#endif
|
||||
|
||||
|
@ -644,7 +644,7 @@ G29_TYPE GcodeSuite::G29() {
|
|||
if (TERN0(IS_KINEMATIC, !probe.can_reach(probePos))) continue;
|
||||
|
||||
if (verbose_level) SERIAL_ECHOLNPAIR("Probing mesh point ", int(pt_index), "/", abl_points, ".");
|
||||
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)));
|
||||
TERN_(HAS_DISPLAY, ui.status_printf_P(0, PSTR(S_FMT " %i/%i"), GET_TEXT(MSG_PROBING_MESH), int(pt_index), int(abl_points)));
|
||||
|
||||
measured_z = faux ? 0.001f * random(-100, 101) : probe.probe_at_point(probePos, raise_after, verbose_level);
|
||||
|
||||
|
|
Reference in a new issue