浏览代码

Report the probe position in G30

Scott Lahteine 9 年前
父节点
当前提交
2f6c5fe2da
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      Marlin/Marlin_main.cpp

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

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

正在加载...
取消
保存