From ec368ca18cd866e13fc096bb6127ec6e5a3ef602 Mon Sep 17 00:00:00 2001 From: ellensp <530024+ellensp@users.noreply.github.com> Date: Fri, 5 Apr 2024 13:16:52 +1300 Subject: [PATCH] revert changes to ubl_motion.cpp, no longer needed --- 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 912900a22377..053a68b77d78 100644 --- a/Marlin/src/feature/bedlevel/ubl/ubl_motion.cpp +++ b/Marlin/src/feature/bedlevel/ubl/ubl_motion.cpp @@ -256,7 +256,7 @@ icell += ineg; - while (cnt.x || cnt.y) { + while (cnt) { const float next_mesh_line_x = get_mesh_x(icell.x + iadd.x), next_mesh_line_y = get_mesh_y(icell.y + iadd.y);