Closed Traumflug closed 10 years ago
It bisects to here:
commit 315a081ee89a15388bf82695fa05faf3690bc017
Author: Markus Hitter <mah@jump-ing.de>
Date: Wed Nov 27 18:50:37 2013 +0100
gcode_parse.c: assume G1 only for stuff which might actually move.
Previously, even comments were run through dda_create(), quite a waste
of time.
Reverting that commit doesn't fix it. Investigating...
Fixed. The code in 03631ce10c2875c99b1d5489cfdb4bc2d6abad7b dereferenced NULL, but AVR didn't notice:
static DDA* prev_dda = NULL;
if (prev_dda->done)
prev_dda = NULL;
Look like the simulator doesn'T like the code I just committed onto the cross branch: