ellensp
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
Marlin/src/gcode/parser.cpp
|
@ -312,7 +312,9 @@ void GCodeParser::parse(char *p) { |
|
|
char * const valptr = has_val ? is_str ? unescape_string(p) : p : nullptr; |
|
|
char * const valptr = has_val ? is_str ? unescape_string(p) : p : nullptr; |
|
|
#else |
|
|
#else |
|
|
const bool has_val = valid_float(p); |
|
|
const bool has_val = valid_float(p); |
|
|
char * const valptr = has_val ? p : nullptr; |
|
|
#if ENABLED(FASTER_GCODE_PARSER) |
|
|
|
|
|
char * const valptr = has_val ? p : nullptr; |
|
|
|
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if ENABLED(DEBUG_GCODE_PARSER) |
|
|
#if ENABLED(DEBUG_GCODE_PARSER) |
|
|