Scott Lahteine 7 years ago
parent
commit
009920f393
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/ubl.h

+ 2
- 2
Marlin/ubl.h View File

@@ -267,8 +267,8 @@
267 267
                                  mesh_index_to_xpos(cx + 1), z_values[min(cx, GRID_MAX_POINTS_X - 2) + 1][cy]);
268 268
 
269 269
         const float z2 = calc_z0(rx0,
270
-                                 mesh_index_to_xpos(cx), z_values[cx][min(cy, GRID_MAX_POINTS_X - 2) + 1],
271
-                                 mesh_index_to_xpos(cx + 1), z_values[min(cx, GRID_MAX_POINTS_X - 2) + 1][min(cy, GRID_MAX_POINTS_X - 2) + 1]);
270
+                                 mesh_index_to_xpos(cx), z_values[cx][min(cy, GRID_MAX_POINTS_Y - 2) + 1],
271
+                                 mesh_index_to_xpos(cx + 1), z_values[min(cx, GRID_MAX_POINTS_X - 2) + 1][min(cy, GRID_MAX_POINTS_Y - 2) + 1]);
272 272
 
273 273
         float z0 = calc_z0(ry0,
274 274
                            mesh_index_to_ypos(cy), z1,

Loading…
Cancel
Save