for discusion

This commit is contained in:
Bob-the-Kuhn 2017-06-02 19:22:40 -05:00
parent e2c3695e11
commit ebda4663c3

View file

@ -220,8 +220,10 @@ void GCodeParser::parse(char *p) {
#endif #endif
} }
while (*p && *p != ' ') p++; // Skip over the parameter if (!WITHIN(*p, 'A', 'Z')) {
while (*p == ' ') p++; // Skip over all spaces while (*p && NUMERIC(*p)) p++; // Skip over the parameter
while (*p == ' ') p++; // Skip over all spaces
}
} }
} }