From c91b3142aaf6900396022ea83d6a212573534d6d Mon Sep 17 00:00:00 2001 From: Roxy-3D Date: Thu, 19 Apr 2018 12:03:18 -0500 Subject: [PATCH] Update ubl_motion.cpp Restore necessary and needed loop termination logic. --- Marlin/ubl_motion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/ubl_motion.cpp b/Marlin/ubl_motion.cpp index f206837bd..24a3b7dc4 100644 --- a/Marlin/ubl_motion.cpp +++ b/Marlin/ubl_motion.cpp @@ -342,7 +342,7 @@ xi_cnt--; } - //if (xi_cnt < 0 || yi_cnt < 0) break; // Too far! Exit the loop and go to FINAL_MOVE + if (xi_cnt < 0 || yi_cnt < 0) break; // Too far! Exit the loop and go to FINAL_MOVE } if (g26_debug_flag)