From 87b6364aa00a48038d58ad49c85608c83ff2859a Mon Sep 17 00:00:00 2001 From: Simen Svale Skogsrud Date: Thu, 24 Feb 2011 15:03:45 +0100 Subject: [PATCH] added missing line from G92 patch --- gcode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcode.c b/gcode.c index 4e0278d..af91fce 100644 --- a/gcode.c +++ b/gcode.c @@ -163,9 +163,10 @@ uint8_t gc_execute_line(char *line) { case 21: gc.inches_mode = false; break; case 28: case 30: next_action = NEXT_ACTION_GO_HOME; break; case 53: absolute_override = true; break; - case 80: gc.motion_mode = MOTION_MODE_CANCEL; break; + case 80: gc.motion_mode = MOTION_MODE_CANCEL; break; case 90: gc.absolute_mode = true; break; case 91: gc.absolute_mode = false; break; + case 92: next_action = NEXT_ACTION_SET_COORDINATE_OFFSET; break; case 93: gc.inverse_feed_rate_mode = true; break; case 94: gc.inverse_feed_rate_mode = false; break; default: FAIL(STATUS_UNSUPPORTED_STATEMENT);