Pārlūkot izejas kodu

Merge pull request #777 from PxT/M114

Add whitespace to M114 output
nothinman 11 gadus atpakaļ
vecāks
revīzija
96217bf36a
1 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. 5
    5
      Marlin/Marlin_main.cpp

+ 5
- 5
Marlin/Marlin_main.cpp Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt