Simplify G-code debug option

This commit is contained in:
Scott Lahteine 2018-01-23 22:21:52 -06:00
parent 59b5800e58
commit d5ad51821c
2 changed files with 8 additions and 13 deletions

View file

@ -211,13 +211,7 @@ void GCodeParser::parse(char *p) {
#endif
#if ENABLED(FASTER_GCODE_PARSER)
{
set(code, has_num ? p : NULL // Set parameter exists and pointer (NULL for no number)
#if ENABLED(DEBUG_GCODE_PARSER)
, debug
#endif
);
}
set(code, has_num ? p : NULL); // Set parameter exists and pointer (NULL for no number)
#endif
}
else if (!string_arg) { // Not A-Z? First time, keep as the string_arg