Ver código fonte

Merge pull request #4147 from thinkyhead/rc_fix_M48_raise

Fix debug output in probe_pt
Scott Lahteine 9 anos atrás
pai
commit
ca184d3d72
1 arquivos alterados com 2 adições e 3 exclusões
  1. 2
    3
      Marlin/Marlin_main.cpp

+ 2
- 3
Marlin/Marlin_main.cpp Ver arquivo

2107
     // Raise by z_raise, then move the Z probe to the given XY
2107
     // Raise by z_raise, then move the Z probe to the given XY
2108
     #if ENABLED(DEBUG_LEVELING_FEATURE)
2108
     #if ENABLED(DEBUG_LEVELING_FEATURE)
2109
       if (DEBUGGING(LEVELING)) {
2109
       if (DEBUGGING(LEVELING)) {
2110
-        SERIAL_ECHOPAIR("> do_blocking_move_to ", x - (X_PROBE_OFFSET_FROM_EXTRUDER));
2110
+        SERIAL_ECHOPAIR("> do_blocking_move_to_xy(", x - (X_PROBE_OFFSET_FROM_EXTRUDER));
2111
         SERIAL_ECHOPAIR(", ", y - (Y_PROBE_OFFSET_FROM_EXTRUDER));
2111
         SERIAL_ECHOPAIR(", ", y - (Y_PROBE_OFFSET_FROM_EXTRUDER));
2112
-        SERIAL_ECHOPAIR(", ", max(current_position[Z_AXIS], Z_RAISE_BETWEEN_PROBINGS));
2113
-        SERIAL_EOL;
2112
+        SERIAL_ECHOLNPGM(")");
2114
       }
2113
       }
2115
     #endif
2114
     #endif
2116
 
2115
 

Carregando…
Cancelar
Salvar