Przeglądaj źródła

Fix spacing in gcode.cpp

Followup to #6940
Scott Lahteine 8 lat temu
rodzic
commit
ba1706a265
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3
    3
      Marlin/gcode.cpp

+ 3
- 3
Marlin/gcode.cpp Wyświetl plik

@@ -184,7 +184,7 @@ void GCodeParser::parse(char *p) {
184 184
 
185 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 188
       const bool has_num = DECIMAL_SIGNED(*p);  // The parameter has a number [-+0-9.]
189 189
 
190 190
       #if ENABLED(DEBUG_GCODE_PARSER)
@@ -222,8 +222,8 @@ void GCodeParser::parse(char *p) {
222 222
     }
223 223
 
224 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
 }

Ładowanie…
Anuluj
Zapisz