From a63ade8350d8c9be3064a96e6d92ffa6d8d8985c Mon Sep 17 00:00:00 2001 From: midopple Date: Thu, 24 May 2012 09:09:17 +0300 Subject: Wrong declaration for Variable min_time_before_dir_change should be const long --- Sprinter/Configuration.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Sprinter') diff --git a/Sprinter/Configuration.h b/Sprinter/Configuration.h index 623f968..a9243d2 100644 --- a/Sprinter/Configuration.h +++ b/Sprinter/Configuration.h @@ -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 //----------------------------------------------------------------------- -- cgit v1.2.1