Skip to content

Commit

Permalink
Fix spacing in gcode.cpp
Browse files Browse the repository at this point in the history
Followup to #6940
  • Loading branch information
thinkyhead committed Jun 4, 2017
1 parent e34dd3d commit 1d1565b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Marlin/gcode.cpp
Expand Up @@ -184,7 +184,7 @@ void GCodeParser::parse(char *p) {

if (PARAM_TEST) {

while (*p == ' ') p++; // skip spaces vetween parameters & values
while (*p == ' ') p++; // Skip spaces between parameters & values
const bool has_num = DECIMAL_SIGNED(*p); // The parameter has a number [-+0-9.]

#if ENABLED(DEBUG_GCODE_PARSER)
Expand Down Expand Up @@ -222,8 +222,8 @@ void GCodeParser::parse(char *p) {
}

if (!WITHIN(*p, 'A', 'Z')) {
while (*p && NUMERIC(*p)) p++; // Skip over the value section of a parameter
while (*p == ' ') p++; // Skip over all spaces
while (*p && NUMERIC(*p)) p++; // Skip over the value section of a parameter
while (*p == ' ') p++; // Skip over all spaces
}
}
}
Expand Down

0 comments on commit 1d1565b

Please sign in to comment.