Simplify G-code debug option
This commit is contained in:
parent
608f8b10da
commit
053b1371c7
2 changed files with 3 additions and 13 deletions
|
|
@ -225,13 +225,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue