Ver código fonte

Fix report_current_position

Scott Lahteine 7 anos atrás
pai
commit
f5d210c35c
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3
    3
      Marlin/src/module/motion.cpp

+ 3
- 3
Marlin/src/module/motion.cpp Ver arquivo

@@ -147,11 +147,11 @@ float cartes[XYZ];
147 147
  */
148 148
 void report_current_position() {
149 149
   SERIAL_PROTOCOLPGM("X:");
150
-  SERIAL_PROTOCOL(current_position[X_AXIS]);
150
+  SERIAL_PROTOCOL(LOGICAL_X_POSITION(current_position[X_AXIS]));
151 151
   SERIAL_PROTOCOLPGM(" Y:");
152
-  SERIAL_PROTOCOL(current_position[Y_AXIS]);
152
+  SERIAL_PROTOCOL(LOGICAL_Y_POSITION(current_position[Y_AXIS]));
153 153
   SERIAL_PROTOCOLPGM(" Z:");
154
-  SERIAL_PROTOCOL(current_position[Z_AXIS]);
154
+  SERIAL_PROTOCOL(LOGICAL_Z_POSITION(current_position[Z_AXIS]));
155 155
   SERIAL_PROTOCOLPGM(" E:");
156 156
   SERIAL_PROTOCOL(current_position[E_AXIS]);
157 157
 

Carregando…
Cancelar
Salvar