Fixed Gcode parser to preserve large line numbers

This commit is contained in:
Alden Hart
2017-03-20 07:18:26 -04:00
parent d7334e8a2d
commit 5c451cfcb4
3 changed files with 14 additions and 12 deletions
+1 -2
View File
@@ -106,9 +106,8 @@ void json_parse_for_exec(char *str, bool execute)
nvObj_t *nv = nv_reset_exec_nv_list(); // get a fresh nvObj list
stat_t status = _json_parser_kernal(nv, str);
if ((status == STAT_OK) && (execute)) {
// execute the command
nv = nv_exec;
status = _json_parser_execute(nv);
status = _json_parser_execute(nv); // execute the command
}
}