From 6f86c46fa6d76dbd12f55c9855c26045c7659843 Mon Sep 17 00:00:00 2001 From: Roxy-3D Date: Mon, 15 May 2017 23:13:45 -0500 Subject: [PATCH] Fix typo that caused scope issues for DELTA (#6750) --- 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 2cc4767dd..1ebee9e5f 100644 --- a/Marlin/ubl_motion.cpp +++ b/Marlin/ubl_motion.cpp @@ -600,7 +600,7 @@ y1 = pgm_read_float(&(ubl.mesh_index_to_ypos[cell_yi+1])); // 64 byte table lookup avoids mul+add float cx = rx - x0, // cell-relative x - cy = ry - y0; // cell-relative y + cy = ry - y0, // cell-relative y z_x0y0 = ubl.z_values[cell_xi ][cell_yi ], // z at lower left corner z_x1y0 = ubl.z_values[cell_xi+1][cell_yi ], // z at upper left corner z_x0y1 = ubl.z_values[cell_xi ][cell_yi+1], // z at lower right corner