Configuration samples: don't use preprocessor math for STEPS_PER_M.

Since the introduction of STEPS_PER_M instead of STEPS_PER_MM
it's no longer allowed. Unfortunately.
This commit is contained in:
Markus Hitter 2011-12-13 03:27:17 +01:00
parent 72185f776b
commit 56258a3908
5 changed files with 20 additions and 40 deletions

View File

@ -65,12 +65,12 @@
valid range = 20 to 4'0960'000 (0.02 to 40960 steps/mm)
*/
#define STEPS_PER_M_X (5000*8)
#define STEPS_PER_M_Y (5000*8)
#define STEPS_PER_M_Z (160000*8)
#define STEPS_PER_M_X 40000
#define STEPS_PER_M_Y 40000
#define STEPS_PER_M_Z 1280000
/// http://blog.arcol.hu/?p=157 may help with this one
#define STEPS_PER_M_E (160000*8)
#define STEPS_PER_M_E 1280000
/*

View File

@ -65,17 +65,12 @@
valid range = 20 to 4'0960'000 (0.02 to 40960 steps/mm)
*/
#define MICROSTEPPING_X 16.0
#define MICROSTEPPING_Y 16.0
#define MICROSTEPPING_Z 16.0
#define MICROSTEPPING_E 4.0
#define STEPS_PER_M_X (5023*MICROSTEPPING_X)
#define STEPS_PER_M_Y (5023*MICROSTEPPING_Y)
#define STEPS_PER_M_Z (416699*MICROSTEPPING_Z)
#define STEPS_PER_M_X 80368
#define STEPS_PER_M_Y 80368
#define STEPS_PER_M_Z 3333592
/// http://blog.arcol.hu/?p=157 may help with this one
#define STEPS_PER_M_E (2759*MICROSTEPPING_E)
#define STEPS_PER_M_E 11036
/*

View File

@ -65,17 +65,12 @@
valid range = 20 to 4'0960'000 (0.02 to 40960 steps/mm)
*/
#define MICROSTEPPING_X 16.0
#define MICROSTEPPING_Y 16.0
#define MICROSTEPPING_Z 16.0
#define MICROSTEPPING_E 4.0
#define STEPS_PER_M_X (5023*MICROSTEPPING_X)
#define STEPS_PER_M_Y (5023*MICROSTEPPING_Y)
#define STEPS_PER_M_Z (416699*MICROSTEPPING_Z)
#define STEPS_PER_M_X 80368
#define STEPS_PER_M_Y 80368
#define STEPS_PER_M_Z 3333592
/// http://blog.arcol.hu/?p=157 may help with this one
#define STEPS_PER_M_E (2759*MICROSTEPPING_E)
#define STEPS_PER_M_E 11036
/*

View File

@ -64,17 +64,12 @@
valid range = 20 to 4'0960'000 (0.02 to 40960 steps/mm)
*/
#define MICROSTEPPING_X 16.0
#define MICROSTEPPING_Y 16.0
#define MICROSTEPPING_Z 16.0
#define MICROSTEPPING_E 4.0
#define STEPS_PER_M_X (5023*MICROSTEPPING_X)
#define STEPS_PER_M_Y (5023*MICROSTEPPING_Y)
#define STEPS_PER_M_Z (416699*MICROSTEPPING_Z)
#define STEPS_PER_M_X 80368
#define STEPS_PER_M_Y 80368
#define STEPS_PER_M_Z 3333592
/// http://blog.arcol.hu/?p=157 may help with this one
#define STEPS_PER_M_E (2759*MICROSTEPPING_E)
#define STEPS_PER_M_E 11036
/*

View File

@ -64,17 +64,12 @@
valid range = 20 to 4'0960'000 (0.02 to 40960 steps/mm)
*/
#define MICROSTEPPING_X 16.0
#define MICROSTEPPING_Y 16.0
#define MICROSTEPPING_Z 16.0
#define MICROSTEPPING_E 4.0
#define STEPS_PER_M_X (5023*MICROSTEPPING_X)
#define STEPS_PER_M_Y (5023*MICROSTEPPING_Y)
#define STEPS_PER_M_Z (416699*MICROSTEPPING_Z)
#define STEPS_PER_M_X 80368
#define STEPS_PER_M_Y 80368
#define STEPS_PER_M_Z 3333592
/// http://blog.arcol.hu/?p=157 may help with this one
#define STEPS_PER_M_E (2759*MICROSTEPPING_E)
#define STEPS_PER_M_E 11036
/*