From 23635c2b647bbe14dcf0cf165338ee79dc624c57 Mon Sep 17 00:00:00 2001 From: Roxy-3D Date: Thu, 19 Apr 2018 12:04:35 -0500 Subject: [PATCH] Update ubl_motion.cpp Restore necessary and needed loop termination logic. --- Marlin/src/feature/bedlevel/ubl/ubl_motion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/feature/bedlevel/ubl/ubl_motion.cpp b/Marlin/src/feature/bedlevel/ubl/ubl_motion.cpp index ed9251010..44fd02a4c 100644 --- a/Marlin/src/feature/bedlevel/ubl/ubl_motion.cpp +++ b/Marlin/src/feature/bedlevel/ubl/ubl_motion.cpp @@ -347,7 +347,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)