Skip to content

Commit 37a6833

Browse files
authored
Allow the sampled point to be added into the Least Squares Best Fit (#7289)
Without this... The LSF won't work because none of the sampled points in this code block get added.
1 parent a519b09 commit 37a6833

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Marlin/Marlin_main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4623,6 +4623,8 @@ void home_all_axes() { gcode_G28(true); }
46234623
eqnAMatrix[abl_probe_index + 1 * abl2] = yProbe;
46244624
eqnAMatrix[abl_probe_index + 2 * abl2] = 1;
46254625

4626+
incremental_LSF(&lsf_results, xProbe, yProbe, measured_z);
4627+
46264628
#elif ENABLED(AUTO_BED_LEVELING_BILINEAR)
46274629

46284630
z_values[xCount][yCount] = measured_z + zoffset;

0 commit comments

Comments
 (0)