Skip to content

Commit

Permalink
Followup to MarlinFirmware#8713
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Dec 9, 2017
1 parent 666d952 commit 009920f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/ubl.h
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@
mesh_index_to_xpos(cx + 1), z_values[min(cx, GRID_MAX_POINTS_X - 2) + 1][cy]);

const float z2 = calc_z0(rx0,
mesh_index_to_xpos(cx), z_values[cx][min(cy, GRID_MAX_POINTS_X - 2) + 1],
mesh_index_to_xpos(cx + 1), z_values[min(cx, GRID_MAX_POINTS_X - 2) + 1][min(cy, GRID_MAX_POINTS_X - 2) + 1]);
mesh_index_to_xpos(cx), z_values[cx][min(cy, GRID_MAX_POINTS_Y - 2) + 1],
mesh_index_to_xpos(cx + 1), z_values[min(cx, GRID_MAX_POINTS_X - 2) + 1][min(cy, GRID_MAX_POINTS_Y - 2) + 1]);

float z0 = calc_z0(ry0,
mesh_index_to_ypos(cy), z1,
Expand Down

0 comments on commit 009920f

Please sign in to comment.