From 960444fb9780d150b7a8277e03d0ec51e626b9cf Mon Sep 17 00:00:00 2001 From: Simen Svale Skogsrud Date: Wed, 6 Jan 2010 00:23:28 +0100 Subject: [PATCH] fixed feed rate calculation --- motion_control.c | 1 - 1 file changed, 1 deletion(-) diff --git a/motion_control.c b/motion_control.c index 9d4c2dc..9cebb6f 100644 --- a/motion_control.c +++ b/motion_control.c @@ -71,7 +71,6 @@ void compute_and_set_step_pace(double feed_rate, double millimeters_of_travel, u pace = round(ONE_MINUTE_OF_MICROSECONDS/feed_rate/steps); } else { pace = round((ONE_MINUTE_OF_MICROSECONDS/X_STEPS_PER_MM)/feed_rate); - //pace = round(((millimeters_of_travel * ONE_MINUTE_OF_MICROSECONDS) / feed_rate) / steps); } st_buffer_pace(pace); }