Fix leveling "Point n of 3" message (#18639)

This commit is contained in:
Leo 2020-07-15 00:02:38 +02:00 committed by GitHub
parent 0e1cb10909
commit c9718504c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -685,8 +685,8 @@ G29_TYPE GcodeSuite::G29() {
// Probe at 3 arbitrary points // Probe at 3 arbitrary points
LOOP_L_N(i, 3) { LOOP_L_N(i, 3) {
if (verbose_level) SERIAL_ECHOLNPAIR("Probing point ", int(i), "/3."); if (verbose_level) SERIAL_ECHOLNPAIR("Probing point ", int(i + 1), "/3.");
TERN_(HAS_DISPLAY, ui.status_printf_P(0, PSTR(S_FMT " %i/3"), GET_TEXT(MSG_PROBING_MESH), int(i))); TERN_(HAS_DISPLAY, ui.status_printf_P(0, PSTR(S_FMT " %i/3"), GET_TEXT(MSG_PROBING_MESH), int(i + 1)));
// Retain the last probe position // Retain the last probe position
probePos = points[i]; probePos = points[i];