Follow-up of 4b4d1c2f2a
- Restored line deleted by mistake
This commit is contained in:
parent
4b4d1c2f2a
commit
ab171441aa
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ const char* GCodeReader::parse_line_internal(const char *ptr, const char *end, G
|
|||
if (axis != NUM_AXES_WITH_UNKNOWN) {
|
||||
// Try to parse the numeric value.
|
||||
double v;
|
||||
c = skip_whitespaces(++c);
|
||||
auto [pend, ec] = fast_float::from_chars(c, end, v);
|
||||
if (pend != c && is_end_of_word(*pend)) {
|
||||
// The axis value has been parsed correctly.
|
||||
|
|
Loading…
Add table
Reference in a new issue