Merge pull request #3413 from thinkyhead/rc_probe_G30_position

Report the probe position in G30
This commit is contained in:
Scott Lahteine 2016-04-07 19:25:33 -07:00
commit 098fb8f8c9

View File

@ -3425,9 +3425,9 @@ inline void gcode_G28() {
run_z_probe(); run_z_probe();
SERIAL_PROTOCOLPGM("Bed X: "); SERIAL_PROTOCOLPGM("Bed X: ");
SERIAL_PROTOCOL(current_position[X_AXIS] + 0.0001); SERIAL_PROTOCOL(current_position[X_AXIS] + X_PROBE_OFFSET_FROM_EXTRUDER + 0.0001);
SERIAL_PROTOCOLPGM(" Y: "); SERIAL_PROTOCOLPGM(" Y: ");
SERIAL_PROTOCOL(current_position[Y_AXIS] + 0.0001); SERIAL_PROTOCOL(current_position[Y_AXIS] + Y_PROBE_OFFSET_FROM_EXTRUDER + 0.0001);
SERIAL_PROTOCOLPGM(" Z: "); SERIAL_PROTOCOLPGM(" Z: ");
SERIAL_PROTOCOL(current_position[Z_AXIS] + 0.0001); SERIAL_PROTOCOL(current_position[Z_AXIS] + 0.0001);
SERIAL_EOL; SERIAL_EOL;