Browse Source

Merge pull request #4212 from AnHardt/MBL-typo

MBL typo
Roxy-3D 9 years ago
parent
commit
a3f350e728
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -7503,7 +7503,7 @@ void mesh_buffer_line(float x, float y, float z, const float e, float feed_rate,
7503 7503
   int pcx = mbl.cell_index_x(RAW_CURRENT_POSITION(X_AXIS)),
7504 7504
       pcy = mbl.cell_index_y(RAW_CURRENT_POSITION(Y_AXIS)),
7505 7505
       cx = mbl.cell_index_x(RAW_POSITION(x, X_AXIS)),
7506
-      cy = mbl.cell_index_y(RAW_POSITION(x, Y_AXIS));
7506
+      cy = mbl.cell_index_y(RAW_POSITION(y, Y_AXIS));
7507 7507
   NOMORE(pcx, MESH_NUM_X_POINTS - 2);
7508 7508
   NOMORE(pcy, MESH_NUM_Y_POINTS - 2);
7509 7509
   NOMORE(cx,  MESH_NUM_X_POINTS - 2);

Loading…
Cancel
Save