Browse Source

Add whitespace to M114 output

Paul Telford 11 years ago
parent
commit
306588925d
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      Marlin/Marlin_main.cpp

+ 5
- 5
Marlin/Marlin_main.cpp View File

@@ -2122,18 +2122,18 @@ void process_commands()
2122 2122
     case 114: // M114
2123 2123
       SERIAL_PROTOCOLPGM("X:");
2124 2124
       SERIAL_PROTOCOL(current_position[X_AXIS]);
2125
-      SERIAL_PROTOCOLPGM("Y:");
2125
+      SERIAL_PROTOCOLPGM(" Y:");
2126 2126
       SERIAL_PROTOCOL(current_position[Y_AXIS]);
2127
-      SERIAL_PROTOCOLPGM("Z:");
2127
+      SERIAL_PROTOCOLPGM(" Z:");
2128 2128
       SERIAL_PROTOCOL(current_position[Z_AXIS]);
2129
-      SERIAL_PROTOCOLPGM("E:");
2129
+      SERIAL_PROTOCOLPGM(" E:");
2130 2130
       SERIAL_PROTOCOL(current_position[E_AXIS]);
2131 2131
 
2132 2132
       SERIAL_PROTOCOLPGM(MSG_COUNT_X);
2133 2133
       SERIAL_PROTOCOL(float(st_get_position(X_AXIS))/axis_steps_per_unit[X_AXIS]);
2134
-      SERIAL_PROTOCOLPGM("Y:");
2134
+      SERIAL_PROTOCOLPGM(" Y:");
2135 2135
       SERIAL_PROTOCOL(float(st_get_position(Y_AXIS))/axis_steps_per_unit[Y_AXIS]);
2136
-      SERIAL_PROTOCOLPGM("Z:");
2136
+      SERIAL_PROTOCOLPGM(" Z:");
2137 2137
       SERIAL_PROTOCOL(float(st_get_position(Z_AXIS))/axis_steps_per_unit[Z_AXIS]);
2138 2138
 
2139 2139
       SERIAL_PROTOCOLLN("");

Loading…
Cancel
Save