Sfoglia il codice sorgente

Report the probe position in G30

Scott Lahteine 9 anni fa
parent
commit
2f6c5fe2da
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp Vedi File

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

Loading…
Annulla
Salva