From ae56481873211746266c2ac93ffa6560f9122efa Mon Sep 17 00:00:00 2001 From: Emanuele Caruso Date: Tue, 17 May 2011 21:39:45 +0200 Subject: Fixed type of axis_previous_micros array to unsigned long --- Tonokip_Firmware/Tonokip_Firmware.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1