Browse Source

Fix MESH_BED_LEVELING w/o SEGMENT_LEVELED_MOVES (#20363)

vanilla_fb_2.0.x
Jason Smith 4 years ago
committed by GitHub
parent
commit
d17db47775
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Marlin/src/feature/bedlevel/mbl/mesh_bed_leveling.cpp

4
Marlin/src/feature/bedlevel/mbl/mesh_bed_leveling.cpp

@ -71,8 +71,8 @@
// Start and end in the same cell? No split needed. // Start and end in the same cell? No split needed.
if (scel == ecel) { if (scel == ecel) {
line_to_destination(scaled_fr_mm_s);
current_position = destination; current_position = destination;
line_to_current_position(scaled_fr_mm_s);
return; return;
} }
@ -104,8 +104,8 @@
else { else {
// Must already have been split on these border(s) // Must already have been split on these border(s)
// This should be a rare case. // This should be a rare case.
line_to_destination(scaled_fr_mm_s);
current_position = destination; current_position = destination;
line_to_current_position(scaled_fr_mm_s);
return; return;
} }

Loading…
Cancel
Save