Browse Source

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

Florian Heilmann 7 years ago
parent
commit
7bbc31704c
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp View File

2208
       SERIAL_PROTOCOLPGM(" Y: ");
2208
       SERIAL_PROTOCOLPGM(" Y: ");
2209
       SERIAL_PROTOCOL_F(y, 3);
2209
       SERIAL_PROTOCOL_F(y, 3);
2210
       SERIAL_PROTOCOLPGM(" Z: ");
2210
       SERIAL_PROTOCOLPGM(" Z: ");
2211
-      SERIAL_PROTOCOL_F(measured_z, 3);
2211
+      SERIAL_PROTOCOL_F(measured_z - -zprobe_zoffset + 0.0001, 3);
2212
       SERIAL_EOL;
2212
       SERIAL_EOL;
2213
     }
2213
     }
2214
 
2214
 
4455
     SERIAL_PROTOCOLPGM(" Y: ");
4455
     SERIAL_PROTOCOLPGM(" Y: ");
4456
     SERIAL_PROTOCOL(Y_probe_location + 0.0001);
4456
     SERIAL_PROTOCOL(Y_probe_location + 0.0001);
4457
     SERIAL_PROTOCOLPGM(" Z: ");
4457
     SERIAL_PROTOCOLPGM(" Z: ");
4458
-    SERIAL_PROTOCOLLN(measured_z + 0.0001);
4458
+    SERIAL_PROTOCOLLN(measured_z - -zprobe_zoffset + 0.0001);
4459
 
4459
 
4460
     clean_up_after_endstop_or_probe_move();
4460
     clean_up_after_endstop_or_probe_move();
4461
 
4461
 

Loading…
Cancel
Save