Browse Source

M211 output in current workspace

Scott Lahteine 7 years ago
parent
commit
6b9e7defac
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      Marlin/Marlin_main.cpp

+ 6
- 6
Marlin/Marlin_main.cpp View File

@@ -9146,13 +9146,13 @@ inline void gcode_M211() {
9146 9146
     SERIAL_ECHOPGM(MSG_OFF);
9147 9147
   #endif
9148 9148
   SERIAL_ECHOPGM(MSG_SOFT_MIN);
9149
-  SERIAL_ECHOPAIR(    MSG_X, soft_endstop_min[X_AXIS]);
9150
-  SERIAL_ECHOPAIR(" " MSG_Y, soft_endstop_min[Y_AXIS]);
9151
-  SERIAL_ECHOPAIR(" " MSG_Z, soft_endstop_min[Z_AXIS]);
9149
+  SERIAL_ECHOPAIR(    MSG_X, LOGICAL_X_POSITION(soft_endstop_min[X_AXIS]));
9150
+  SERIAL_ECHOPAIR(" " MSG_Y, LOGICAL_Y_POSITION(soft_endstop_min[Y_AXIS]));
9151
+  SERIAL_ECHOPAIR(" " MSG_Z, LOGICAL_Z_POSITION(soft_endstop_min[Z_AXIS]));
9152 9152
   SERIAL_ECHOPGM(MSG_SOFT_MAX);
9153
-  SERIAL_ECHOPAIR(    MSG_X, soft_endstop_max[X_AXIS]);
9154
-  SERIAL_ECHOPAIR(" " MSG_Y, soft_endstop_max[Y_AXIS]);
9155
-  SERIAL_ECHOLNPAIR(" " MSG_Z, soft_endstop_max[Z_AXIS]);
9153
+  SERIAL_ECHOPAIR(    MSG_X, LOGICAL_X_POSITION(soft_endstop_max[X_AXIS]));
9154
+  SERIAL_ECHOPAIR(" " MSG_Y, LOGICAL_Y_POSITION(soft_endstop_max[Y_AXIS]));
9155
+  SERIAL_ECHOLNPAIR(" " MSG_Z, LOGICAL_Z_POSITION(soft_endstop_max[Z_AXIS]));
9156 9156
 }
9157 9157
 
9158 9158
 #if HOTENDS > 1

Loading…
Cancel
Save