summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Caruso <emanuele.caruso@gmail.com>2011-05-17 21:39:45 +0200
committerEmanuele Caruso <emanuele.caruso@gmail.com>2011-05-17 21:39:45 +0200
commitae56481873211746266c2ac93ffa6560f9122efa (patch)
tree753865b3745ae42d6775dccfa6b58e63defff557
parent0773ea752d26a47ce6c1d21c3f2cffc9bfb48126 (diff)
Fixed type of axis_previous_micros array to unsigned long
-rw-r--r--Tonokip_Firmware/Tonokip_Firmware.pde2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tonokip_Firmware/Tonokip_Firmware.pde b/Tonokip_Firmware/Tonokip_Firmware.pde
index 63babc5..308746a 100644
--- a/Tonokip_Firmware/Tonokip_Firmware.pde
+++ b/Tonokip_Firmware/Tonokip_Firmware.pde
@@ -59,7 +59,7 @@
//Stepper Movement Variables
bool direction_x, direction_y, direction_z, direction_e;
const int STEP_PIN[NUM_AXIS] = {X_STEP_PIN, Y_STEP_PIN, Z_STEP_PIN, E_STEP_PIN};
-long axis_previous_micros[NUM_AXIS];
+unsigned long axis_previous_micros[NUM_AXIS];
unsigned long previous_micros = 0, previous_millis_heater, previous_millis_bed_heater;
unsigned long x_steps_to_take, y_steps_to_take, z_steps_to_take, e_steps_to_take;
#ifdef RAMP_ACCELERATION