Browse Source

Fix report_current_position

Scott Lahteine 6 years ago
parent
commit
f5d210c35c
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/src/module/motion.cpp

+ 3
- 3
Marlin/src/module/motion.cpp View File

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

Loading…
Cancel
Save