summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidopple <mdoppler@gmx.at>2012-05-24 09:09:17 +0300
committermidopple <mdoppler@gmx.at>2012-05-24 09:09:17 +0300
commita63ade8350d8c9be3064a96e6d92ffa6d8d8985c (patch)
tree61d1ea68355b3a7f53a9b301fe3ac159d4a099bb
parent18ad4ffc0e6b446e3475109089e6a0c9a75e2fab (diff)
Wrong declaration for Variable min_time_before_dir_change
should be const long
-rw-r--r--Sprinter/Configuration.h2
1 files changed, 1 insertions, 1 deletions
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
//-----------------------------------------------------------------------