From 74e03b7df1a8736e6886a84b35c3b7093d6fd0c1 Mon Sep 17 00:00:00 2001 From: Michael Moon Date: Tue, 26 Apr 2011 18:19:00 +1000 Subject: [PATCH] allow G92 to work again after 0389289 --- dda.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dda.c b/dda.c index 1bf4590..952c86b 100644 --- a/dda.c +++ b/dda.c @@ -577,6 +577,9 @@ void dda_step(DDA *dda) { void update_position() { DDA *dda = &movebuffer[mb_tail]; + if (dda->live == 0) + return; + if (dda->x_direction) current_position.X = dda->endpoint.X - dda->x_steps; else