diff --git a/dda.c b/dda.c index bf5db44..fd4b806 100644 --- a/dda.c +++ b/dda.c @@ -756,8 +756,8 @@ void dda_clock() { uint32_t move_step_no, move_c; int32_t move_n; uint8_t recalc_speed; - #endif uint8_t current_id ; + #endif dda = queue_current_movement(); if (dda != last_dda) { diff --git a/dda.h b/dda.h index a1a45db..10a5ea3 100644 --- a/dda.h +++ b/dda.h @@ -119,6 +119,7 @@ typedef struct { #ifdef ACCELERATION_REPRAP uint32_t end_c; ///< time between 2nd last step and last step + int32_t n; ///< precalculated step time offset variable #endif #ifdef ACCELERATION_RAMPING /// precalculated step time offset variable