Browse Source

Fix bilinear_line_to_destination definition

See #19431
thinkyhead 4 years ago
parent
commit
ba2939b1dc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/feature/bedlevel/abl/abl.cpp

+ 1
- 1
Marlin/src/feature/bedlevel/abl/abl.cpp View File

348
    * Prepare a bilinear-leveled linear move on Cartesian,
348
    * Prepare a bilinear-leveled linear move on Cartesian,
349
    * splitting the move where it crosses grid borders.
349
    * splitting the move where it crosses grid borders.
350
    */
350
    */
351
-  void bilinear_line_to_destination(const feedRate_t scaled_fr_mm_s, uint16_t x_splits, uint16_t y_splits) {
351
+  void bilinear_line_to_destination(const feedRate_t &scaled_fr_mm_s, uint16_t x_splits, uint16_t y_splits) {
352
     // Get current and destination cells for this line
352
     // Get current and destination cells for this line
353
     xy_int_t c1 { CELL_INDEX(x, current_position.x), CELL_INDEX(y, current_position.y) },
353
     xy_int_t c1 { CELL_INDEX(x, current_position.x), CELL_INDEX(y, current_position.y) },
354
              c2 { CELL_INDEX(x, destination.x), CELL_INDEX(y, destination.y) };
354
              c2 { CELL_INDEX(x, destination.x), CELL_INDEX(y, destination.y) };

Loading…
Cancel
Save