Browse Source

Fix MESH_BED_LEVELING w/o SEGMENT_LEVELED_MOVES (#20363)

Jason Smith 4 years ago
parent
commit
d17db47775
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/feature/bedlevel/mbl/mesh_bed_leveling.cpp

+ 2
- 2
Marlin/src/feature/bedlevel/mbl/mesh_bed_leveling.cpp View File

@@ -71,8 +71,8 @@
71 71
 
72 72
       // Start and end in the same cell? No split needed.
73 73
       if (scel == ecel) {
74
-        line_to_destination(scaled_fr_mm_s);
75 74
         current_position = destination;
75
+        line_to_current_position(scaled_fr_mm_s);
76 76
         return;
77 77
       }
78 78
 
@@ -104,8 +104,8 @@
104 104
       else {
105 105
         // Must already have been split on these border(s)
106 106
         // This should be a rare case.
107
-        line_to_destination(scaled_fr_mm_s);
108 107
         current_position = destination;
108
+        line_to_current_position(scaled_fr_mm_s);
109 109
         return;
110 110
       }
111 111
 

Loading…
Cancel
Save