config command prevents gcode parsing

This commit is contained in:
Simen Svale Skogsrud 2011-02-10 13:05:53 +01:00
parent 041a8b8a3f
commit fd18ab455f

View File

@ -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 */