From 07f8623098edacb99cf11ea37ec6ad7f61df4e1c Mon Sep 17 00:00:00 2001 From: Simen Svale Skogsrud Date: Fri, 11 Feb 2011 00:36:40 +0100 Subject: [PATCH] smoothed a wrinkle --- motion_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motion_control.c b/motion_control.c index 3e4d47c..109f20b 100644 --- a/motion_control.c +++ b/motion_control.c @@ -82,7 +82,7 @@ void mc_arc(double theta, double angular_travel, double radius, double linear_tr theta += theta_per_segment; target[axis_1] = center_x+sin(theta)*radius; target[axis_2] = center_y+cos(theta)*radius; - mc_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], feed_rate, invert_feed_rate); + plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], feed_rate, invert_feed_rate); } plan_set_acceleration_manager_enabled(acceleration_manager_was_enabled); }