瀏覽代碼

Fix spacing in gcode.cpp

Followup to #6940
Scott Lahteine 8 年之前
父節點
當前提交
ba1706a265
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      Marlin/gcode.cpp

+ 3
- 3
Marlin/gcode.cpp 查看文件

184
 
184
 
185
     if (PARAM_TEST) {
185
     if (PARAM_TEST) {
186
 
186
 
187
-      while (*p == ' ') p++;                    // skip spaces vetween parameters & values
187
+      while (*p == ' ') p++;                    // Skip spaces between parameters & values
188
       const bool has_num = DECIMAL_SIGNED(*p);  // The parameter has a number [-+0-9.]
188
       const bool has_num = DECIMAL_SIGNED(*p);  // The parameter has a number [-+0-9.]
189
 
189
 
190
       #if ENABLED(DEBUG_GCODE_PARSER)
190
       #if ENABLED(DEBUG_GCODE_PARSER)
222
     }
222
     }
223
 
223
 
224
     if (!WITHIN(*p, 'A', 'Z')) {
224
     if (!WITHIN(*p, 'A', 'Z')) {
225
-      while (*p && NUMERIC(*p)) p++;              // Skip over the value section of a parameter
226
-      while (*p == ' ') p++;                      // Skip over all spaces
225
+      while (*p && NUMERIC(*p)) p++;            // Skip over the value section of a parameter
226
+      while (*p == ' ') p++;                    // Skip over all spaces
227
     }
227
     }
228
   }
228
   }
229
 }
229
 }

Loading…
取消
儲存