|
@@ -226,7 +226,7 @@ G29_TYPE GcodeSuite::G29() {
|
226
|
226
|
|
227
|
227
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR)
|
228
|
228
|
ABL_VAR int abl_points;
|
229
|
|
- #elif ENABLED(PROBE_MANUALLY) // Bilinear
|
|
229
|
+ #else
|
230
|
230
|
int constexpr abl_points = GRID_MAX_POINTS;
|
231
|
231
|
#endif
|
232
|
232
|
|
|
@@ -644,7 +644,7 @@ G29_TYPE GcodeSuite::G29() {
|
644
|
644
|
if (TERN0(IS_KINEMATIC, !probe.can_reach(probePos))) continue;
|
645
|
645
|
|
646
|
646
|
if (verbose_level) SERIAL_ECHOLNPAIR("Probing mesh point ", int(pt_index), "/", abl_points, ".");
|
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)));
|
|
647
|
+ TERN_(HAS_DISPLAY, ui.status_printf_P(0, PSTR(S_FMT " %i/%i"), GET_TEXT(MSG_PROBING_MESH), int(pt_index), int(abl_points)));
|
648
|
648
|
|
649
|
649
|
measured_z = faux ? 0.001f * random(-100, 101) : probe.probe_at_point(probePos, raise_after, verbose_level);
|
650
|
650
|
|