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 GitHub
parent 517bcd2b5d
commit d17db47775
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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