Browse Source

Probing points followup (#18552)

Oliver Jean Eifler 5 years ago
parent
commit
67db7c0294
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/gcode/bedlevel/abl/G29.cpp

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

226
 
226
 
227
     #if ENABLED(AUTO_BED_LEVELING_LINEAR)
227
     #if ENABLED(AUTO_BED_LEVELING_LINEAR)
228
       ABL_VAR int abl_points;
228
       ABL_VAR int abl_points;
229
-    #elif ENABLED(PROBE_MANUALLY) // Bilinear
229
+    #else
230
       int constexpr abl_points = GRID_MAX_POINTS;
230
       int constexpr abl_points = GRID_MAX_POINTS;
231
     #endif
231
     #endif
232
 
232
 
644
           if (TERN0(IS_KINEMATIC, !probe.can_reach(probePos))) continue;
644
           if (TERN0(IS_KINEMATIC, !probe.can_reach(probePos))) continue;
645
 
645
 
646
           if (verbose_level) SERIAL_ECHOLNPAIR("Probing mesh point ", int(pt_index), "/", abl_points, ".");
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
           measured_z = faux ? 0.001f * random(-100, 101) : probe.probe_at_point(probePos, raise_after, verbose_level);
649
           measured_z = faux ? 0.001f * random(-100, 101) : probe.probe_at_point(probePos, raise_after, verbose_level);
650
 
650
 

Loading…
Cancel
Save