mirror of
https://github.com/synthetos/g2.git
synced 2026-09-22 11:29:24 +08:00
Fixed Gcode parser to preserve large line numbers
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user