From 5ace3699b1fa8537fe2b0c23a468cb31555cb65c Mon Sep 17 00:00:00 2001
From: bgort <bgort@users.noreply.github.com>
Date: Sun, 30 Apr 2017 15:59:34 -0400
Subject: [PATCH] Output (commented) coordinates on G29 S-1; helps identify the
 x/y points that correspond with i/j coordinates, which eases manual tweaking
 of z values (#6507)

---
 Marlin/ubl_G29.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Marlin/ubl_G29.cpp b/Marlin/ubl_G29.cpp
index 3b16d89e3e..79f625370d 100755
--- a/Marlin/ubl_G29.cpp
+++ b/Marlin/ubl_G29.cpp
@@ -600,6 +600,8 @@
               SERIAL_ECHOPAIR(" J ", y);
               SERIAL_ECHOPGM(" Z ");
               SERIAL_ECHO_F(ubl.z_values[x][y], 6);
+              SERIAL_ECHOPAIR(" ; X ", LOGICAL_X_POSITION(pgm_read_float(&(ubl.mesh_index_to_xpos[x]))));
+              SERIAL_ECHOPAIR(", Y ", LOGICAL_Y_POSITION(pgm_read_float(&(ubl.mesh_index_to_ypos[y]))));
               SERIAL_EOL;
             }
         return;