Follow-up of 4b4d1c2f2a - Restored line deleted by mistake

This commit is contained in:
enricoturri1966 2022-01-19 13:26:58 +01:00
parent 4b4d1c2f2a
commit ab171441aa

View file

@ -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.