Fix MESH_BED_LEVELING w/o SEGMENT_LEVELED_MOVES (#20363)

This commit is contained in:
Jason Smith 2020-12-03 19:33:46 -08:00 committed by Scott Lahteine
parent dab29dddc3
commit 10b8737c7d

View File

@ -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;
} }