Browse Source

Merge pull request #777 from PxT/M114

Add whitespace to M114 output
nothinman 11 years ago
parent
commit
96217bf36a
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      Marlin/Marlin_main.cpp

+ 5
- 5
Marlin/Marlin_main.cpp View File

2128
     case 114: // M114
2128
     case 114: // M114
2129
       SERIAL_PROTOCOLPGM("X:");
2129
       SERIAL_PROTOCOLPGM("X:");
2130
       SERIAL_PROTOCOL(current_position[X_AXIS]);
2130
       SERIAL_PROTOCOL(current_position[X_AXIS]);
2131
-      SERIAL_PROTOCOLPGM("Y:");
2131
+      SERIAL_PROTOCOLPGM(" Y:");
2132
       SERIAL_PROTOCOL(current_position[Y_AXIS]);
2132
       SERIAL_PROTOCOL(current_position[Y_AXIS]);
2133
-      SERIAL_PROTOCOLPGM("Z:");
2133
+      SERIAL_PROTOCOLPGM(" Z:");
2134
       SERIAL_PROTOCOL(current_position[Z_AXIS]);
2134
       SERIAL_PROTOCOL(current_position[Z_AXIS]);
2135
-      SERIAL_PROTOCOLPGM("E:");
2135
+      SERIAL_PROTOCOLPGM(" E:");
2136
       SERIAL_PROTOCOL(current_position[E_AXIS]);
2136
       SERIAL_PROTOCOL(current_position[E_AXIS]);
2137
 
2137
 
2138
       SERIAL_PROTOCOLPGM(MSG_COUNT_X);
2138
       SERIAL_PROTOCOLPGM(MSG_COUNT_X);
2139
       SERIAL_PROTOCOL(float(st_get_position(X_AXIS))/axis_steps_per_unit[X_AXIS]);
2139
       SERIAL_PROTOCOL(float(st_get_position(X_AXIS))/axis_steps_per_unit[X_AXIS]);
2140
-      SERIAL_PROTOCOLPGM("Y:");
2140
+      SERIAL_PROTOCOLPGM(" Y:");
2141
       SERIAL_PROTOCOL(float(st_get_position(Y_AXIS))/axis_steps_per_unit[Y_AXIS]);
2141
       SERIAL_PROTOCOL(float(st_get_position(Y_AXIS))/axis_steps_per_unit[Y_AXIS]);
2142
-      SERIAL_PROTOCOLPGM("Z:");
2142
+      SERIAL_PROTOCOLPGM(" Z:");
2143
       SERIAL_PROTOCOL(float(st_get_position(Z_AXIS))/axis_steps_per_unit[Z_AXIS]);
2143
       SERIAL_PROTOCOL(float(st_get_position(Z_AXIS))/axis_steps_per_unit[Z_AXIS]);
2144
 
2144
 
2145
       SERIAL_PROTOCOLLN("");
2145
       SERIAL_PROTOCOLLN("");

Loading…
Cancel
Save