From a6be2f958445f5c32f4aaac489ee9f8f2e28223f Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Fri, 20 Feb 2015 12:50:07 +0100 Subject: [PATCH] dda.c: add forgotten variable declaration. Forgotten in commit 74808610c72a6f657359b410c05fb30a0484443f, "DDA: Move axis calculations into loops, part 5.". This and the previous commit makes ACCELERATION_TEMPORAL building (and working!) again. --- dda.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dda.c b/dda.c index 9340625..3e85ca5 100644 --- a/dda.c +++ b/dda.c @@ -682,6 +682,7 @@ void dda_step(DDA *dda) { short-delays consecutively and to give sufficient time on average. */ uint32_t c_candidate; + uint8_t i; dda->c = 0xFFFFFFFF; for (i = X; i < AXIS_COUNT; i++) {