瀏覽代碼

Merge pull request #3413 from thinkyhead/rc_probe_G30_position

Report the probe position in G30
Scott Lahteine 9 年之前
父節點
當前提交
098fb8f8c9
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp 查看文件

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

Loading…
取消
儲存