Wrong declaration for Variable min_time_before_dir_change

should be const long
This commit is contained in:
midopple 2012-05-24 09:09:17 +03:00
parent 18ad4ffc0e
commit a63ade8350

View file

@ -168,7 +168,7 @@ const int NUM_AXIS = 4; // The axis order in all axis related arrays is X, Y, Z,
///Oscillation reduction. Forces x,y,or z axis to be stationary for ## ms before allowing axis to switch direcitons. Alternative method to prevent skipping steps. Uncomment the line below to activate.
//#define RAPID_OSCILLATION_REDUCTION
#ifdef RAPID_OSCILLATION_REDUCTION
long min_time_before_dir_change = 30; //milliseconds
const long min_time_before_dir_change = 30; //milliseconds
#endif
//-----------------------------------------------------------------------