Merge pull request #5793 from thinkyhead/rc_adjust_probe_output

Adjust probe_pt() terminal output to respect probe z-offset
2.0.x
Scott Lahteine 8 years ago committed by GitHub
commit 7fe7a0c8be

@ -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