Adjust probe_pt() terminal output to respect probe z-offset

2.0.x
Florian Heilmann 8 years ago committed by Scott Lahteine
parent fb11e52cd2
commit 7bbc31704c

@ -2208,7 +2208,7 @@ static void clean_up_after_endstop_or_probe_move() {
SERIAL_PROTOCOLPGM(" Y: "); SERIAL_PROTOCOLPGM(" Y: ");
SERIAL_PROTOCOL_F(y, 3); SERIAL_PROTOCOL_F(y, 3);
SERIAL_PROTOCOLPGM(" Z: "); SERIAL_PROTOCOLPGM(" Z: ");
SERIAL_PROTOCOL_F(measured_z, 3); SERIAL_PROTOCOL_F(measured_z - -zprobe_zoffset + 0.0001, 3);
SERIAL_EOL; SERIAL_EOL;
} }
@ -4455,7 +4455,7 @@ inline void gcode_G28() {
SERIAL_PROTOCOLPGM(" Y: "); SERIAL_PROTOCOLPGM(" Y: ");
SERIAL_PROTOCOL(Y_probe_location + 0.0001); SERIAL_PROTOCOL(Y_probe_location + 0.0001);
SERIAL_PROTOCOLPGM(" Z: "); SERIAL_PROTOCOLPGM(" Z: ");
SERIAL_PROTOCOLLN(measured_z + 0.0001); SERIAL_PROTOCOLLN(measured_z - -zprobe_zoffset + 0.0001);
clean_up_after_endstop_or_probe_move(); clean_up_after_endstop_or_probe_move();

Loading…
Cancel
Save