|
@@ -7386,10 +7386,10 @@ void mesh_buffer_line(float x, float y, float z, const float e, float feed_rate,
|
7386
|
7386
|
set_current_to_destination();
|
7387
|
7387
|
return;
|
7388
|
7388
|
}
|
7389
|
|
- int pcx = mbl.cel_index_x(current_position[X_AXIS] - home_offset[X_AXIS]);
|
7390
|
|
- int pcy = mbl.cel_index_y(current_position[Y_AXIS] - home_offset[Y_AXIS]);
|
7391
|
|
- int cx = mbl.cel_index_x(x - home_offset[X_AXIS]);
|
7392
|
|
- int cy = mbl.cel_index_y(y - home_offset[Y_AXIS]);
|
|
7389
|
+ int pcx = mbl.cell_index_x(current_position[X_AXIS] - home_offset[X_AXIS]);
|
|
7390
|
+ int pcy = mbl.cell_index_y(current_position[Y_AXIS] - home_offset[Y_AXIS]);
|
|
7391
|
+ int cx = mbl.cell_index_x(x - home_offset[X_AXIS]);
|
|
7392
|
+ int cy = mbl.cell_index_y(y - home_offset[Y_AXIS]);
|
7393
|
7393
|
NOMORE(pcx, MESH_NUM_X_POINTS - 2);
|
7394
|
7394
|
NOMORE(pcy, MESH_NUM_Y_POINTS - 2);
|
7395
|
7395
|
NOMORE(cx, MESH_NUM_X_POINTS - 2);
|