summaryrefslogtreecommitdiff
path: root/Tonokip_Firmware/configuration.h
diff options
context:
space:
mode:
authorEmanuele Caruso <emanuele.caruso@gmail.com>2011-05-17 20:30:27 +0200
committerEmanuele Caruso <emanuele.caruso@gmail.com>2011-05-17 20:30:27 +0200
commit0773ea752d26a47ce6c1d21c3f2cffc9bfb48126 (patch)
tree46d6be4ab30dfc88eba25060adcdd7ca17cdcc91 /Tonokip_Firmware/configuration.h
parent01d5fbf28b5cbbb0f3145d3e61905b51128d8df0 (diff)
Refactored do_xxx_step() functions in 1 do_step() function. This is the first of a series of commits to refactor Sprinter to use bresenham on all axis. Much of the inspiration comes from ScribbleJ fork.
Diffstat (limited to 'Tonokip_Firmware/configuration.h')
-rw-r--r--Tonokip_Firmware/configuration.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tonokip_Firmware/configuration.h b/Tonokip_Firmware/configuration.h
index a658412..35c714a 100644
--- a/Tonokip_Firmware/configuration.h
+++ b/Tonokip_Firmware/configuration.h
@@ -86,6 +86,7 @@ float min_constant_speed_units = 2; // the minimum units of an accelerated move
// units are in millimeters or whatever length unit you prefer: inches,football-fields,parsecs etc
//Calibration variables
+const int NUM_AXIS = 4; // The axis order in all axis related arrays is X, Y, Z, E
float x_steps_per_unit = 80.376;
float y_steps_per_unit = 80.376;
float z_steps_per_unit = 3200/1.25;