浏览代码

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("");

正在加载...
取消
保存