From fd18ab455f7c19e81d4612d48aaf6a932f2d1f9e Mon Sep 17 00:00:00 2001 From: Simen Svale Skogsrud Date: Thu, 10 Feb 2011 13:05:53 +0100 Subject: [PATCH] config command prevents gcode parsing --- gcode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcode.c b/gcode.c index 35a3f4a..8f63008 100644 --- a/gcode.c +++ b/gcode.c @@ -156,6 +156,7 @@ uint8_t gc_execute_line(char *line) { read_double(line, &char_counter, &value); if(line[char_counter] != 0) { return(GCSTATUS_UNSUPPORTED_STATEMENT); } settings_store_setting(p, value); + return(gc.status_code); } /* We'll handle this as g-code. First: parse all statements */