From 7bbc31704cb5f3d7b891a5ba1afe3e850c321f5a Mon Sep 17 00:00:00 2001 From: Florian Heilmann Date: Thu, 19 Jan 2017 10:26:15 +0100 Subject: [PATCH] Adjust probe_pt() terminal output to respect probe z-offset --- Marlin/Marlin_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 10580d2dd..f9ece0240 100755 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -2208,7 +2208,7 @@ static void clean_up_after_endstop_or_probe_move() { SERIAL_PROTOCOLPGM(" Y: "); SERIAL_PROTOCOL_F(y, 3); SERIAL_PROTOCOLPGM(" Z: "); - SERIAL_PROTOCOL_F(measured_z, 3); + SERIAL_PROTOCOL_F(measured_z - -zprobe_zoffset + 0.0001, 3); SERIAL_EOL; } @@ -4455,7 +4455,7 @@ inline void gcode_G28() { SERIAL_PROTOCOLPGM(" Y: "); SERIAL_PROTOCOL(Y_probe_location + 0.0001); SERIAL_PROTOCOLPGM(" Z: "); - SERIAL_PROTOCOLLN(measured_z + 0.0001); + SERIAL_PROTOCOLLN(measured_z - -zprobe_zoffset + 0.0001); clean_up_after_endstop_or_probe_move();