Browse Source

Update ubl_motion.cpp

Restore necessary and needed loop termination logic.
Roxy-3D 7 years ago
parent
commit
23635c2b64
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/feature/bedlevel/ubl/ubl_motion.cpp

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

@@ -347,7 +347,7 @@
347 347
         xi_cnt--;
348 348
       }
349 349
 
350
-      //if (xi_cnt < 0 || yi_cnt < 0) break; // Too far! Exit the loop and go to FINAL_MOVE
350
+      if (xi_cnt < 0 || yi_cnt < 0) break; // Too far! Exit the loop and go to FINAL_MOVE
351 351
     }
352 352
 
353 353
     if (g26_debug_flag)

Loading…
Cancel
Save