소스 검색

Merge pull request #777 from PxT/M114

Add whitespace to M114 output
nothinman 11 년 전
부모
커밋
96217bf36a
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5
    5
      Marlin/Marlin_main.cpp

+ 5
- 5
Marlin/Marlin_main.cpp 파일 보기

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…
취소
저장