dda.c: remove two, now obsolete warnings.

This commit is contained in:
Markus Hitter 2012-07-02 22:29:05 +02:00
parent 81f85b018d
commit 674014cc70
1 changed files with 0 additions and 8 deletions

8
dda.c
View File

@ -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)