for discusion
This commit is contained in:
parent
e2c3695e11
commit
ebda4663c3
|
@ -220,10 +220,12 @@ void GCodeParser::parse(char *p) {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
while (*p && *p != ' ') p++; // Skip over the parameter
|
if (!WITHIN(*p, 'A', 'Z')) {
|
||||||
|
while (*p && NUMERIC(*p)) p++; // Skip over the parameter
|
||||||
while (*p == ' ') p++; // Skip over all spaces
|
while (*p == ' ') p++; // Skip over all spaces
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void GCodeParser::unknown_command_error() {
|
void GCodeParser::unknown_command_error() {
|
||||||
SERIAL_ECHO_START;
|
SERIAL_ECHO_START;
|
||||||
|
|
Loading…
Reference in a new issue