config command prevents gcode parsing
This commit is contained in:
parent
041a8b8a3f
commit
fd18ab455f
1 changed files with 1 additions and 0 deletions
1
gcode.c
1
gcode.c
|
|
@ -156,6 +156,7 @@ uint8_t gc_execute_line(char *line) {
|
||||||
read_double(line, &char_counter, &value);
|
read_double(line, &char_counter, &value);
|
||||||
if(line[char_counter] != 0) { return(GCSTATUS_UNSUPPORTED_STATEMENT); }
|
if(line[char_counter] != 0) { return(GCSTATUS_UNSUPPORTED_STATEMENT); }
|
||||||
settings_store_setting(p, value);
|
settings_store_setting(p, value);
|
||||||
|
return(gc.status_code);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We'll handle this as g-code. First: parse all statements */
|
/* We'll handle this as g-code. First: parse all statements */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue