Misc changes from struct refactor (#15289)
This commit is contained in:
@ -714,7 +714,7 @@ G29_TYPE GcodeSuite::G29() {
|
||||
ui.status_printf_P(0, PSTR(MSG_PROBING_MESH " %i/%i"), int(pt_index), int(GRID_MAX_POINTS));
|
||||
#endif
|
||||
|
||||
measured_z = faux ? 0.001 * random(-100, 101) : probe_pt(xProbe, yProbe, raise_after, verbose_level);
|
||||
measured_z = faux ? 0.001 * random(-100, 101) : probe_at_point(xProbe, yProbe, raise_after, verbose_level);
|
||||
|
||||
if (isnan(measured_z)) {
|
||||
set_bed_leveling_enabled(abl_should_enable);
|
||||
@ -759,7 +759,7 @@ G29_TYPE GcodeSuite::G29() {
|
||||
// Retain the last probe position
|
||||
xProbe = points[i].x;
|
||||
yProbe = points[i].y;
|
||||
measured_z = faux ? 0.001 * random(-100, 101) : probe_pt(xProbe, yProbe, raise_after, verbose_level);
|
||||
measured_z = faux ? 0.001 * random(-100, 101) : probe_at_point(xProbe, yProbe, raise_after, verbose_level);
|
||||
if (isnan(measured_z)) {
|
||||
set_bed_leveling_enabled(abl_should_enable);
|
||||
break;
|
||||
|
@ -29,7 +29,7 @@
|
||||
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||
|
||||
#include "../../gcode.h"
|
||||
#include "../../../feature/bedlevel/abl/abl.h"
|
||||
#include "../../../feature/bedlevel/bedlevel.h"
|
||||
|
||||
#if ENABLED(EXTENSIBLE_UI)
|
||||
#include "../../../lcd/extensible_ui/ui_api.h"
|
||||
|
Reference in New Issue
Block a user