From 674014cc70aa7f2a68ed973d34f968b421df8eac Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Mon, 2 Jul 2012 22:29:05 +0200 Subject: [PATCH] dda.c: remove two, now obsolete warnings. --- dda.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/dda.c b/dda.c index b037ba4..4823763 100644 --- a/dda.c +++ b/dda.c @@ -25,10 +25,6 @@ #include "heater.h" #endif -#ifdef STEPS_PER_MM_Y -#error STEPS_PER_MM_Y is gone, review your config.h and use STEPS_PER_M_Y -#endif - /* position tracking */ @@ -283,10 +279,6 @@ void dda_create(DDA *dda, TARGET *target) { else dda->accel = 0; #elif defined ACCELERATION_RAMPING -// remove this when people have swallowed the new config item -#ifdef ACCELERATION_STEEPNESS -#error ACCELERATION_STEEPNESS is gone, review your config.h and use ACCELERATION -#endif // yes, this assumes always the x axis as the critical one regarding acceleration. If we want to implement per-axis acceleration, things get tricky ... dda->c_min = (move_duration / target->F) << 8; if (dda->c_min < c_limit)