fixed feed rate calculation

This commit is contained in:
Simen Svale Skogsrud 2010-01-06 00:23:28 +01:00
parent ed400693b3
commit 960444fb97

View File

@ -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); pace = round(ONE_MINUTE_OF_MICROSECONDS/feed_rate/steps);
} else { } else {
pace = round((ONE_MINUTE_OF_MICROSECONDS/X_STEPS_PER_MM)/feed_rate); 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); st_buffer_pace(pace);
} }