aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper/kin_extruder.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-12-10 15:53:50 -0500
committerKevin O'Connor <kevin@koconnor.net>2019-12-10 15:53:50 -0500
commit04b3603a1e5bdb997a3163e6470b851d7c1f109b (patch)
treee622baa8afed4da00e09145ad2b3bfa9194c0c39 /klippy/chelper/kin_extruder.c
parentcff24b0220ffbfe3fe965ea87eb512a898260249 (diff)
downloadkutter-04b3603a1e5bdb997a3163e6470b851d7c1f109b.tar.gz
kutter-04b3603a1e5bdb997a3163e6470b851d7c1f109b.tar.xz
kutter-04b3603a1e5bdb997a3163e6470b851d7c1f109b.zip
itersolve: Rename scan_pre/_post to gen_steps_pre/post_active
Rename the variables to make it a little more clear what they do. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/kin_extruder.c')
-rw-r--r--klippy/chelper/kin_extruder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/chelper/kin_extruder.c b/klippy/chelper/kin_extruder.c
index 41c30c90..d630f7dd 100644
--- a/klippy/chelper/kin_extruder.c
+++ b/klippy/chelper/kin_extruder.c
@@ -82,7 +82,8 @@ extruder_set_smooth_time(struct stepper_kinematics *sk, double smooth_time)
{
struct extruder_stepper *es = container_of(sk, struct extruder_stepper, sk);
double hst = smooth_time * .5;
- es->sk.scan_past = es->sk.scan_future = es->half_smooth_time = hst;
+ es->half_smooth_time = hst;
+ es->sk.gen_steps_pre_active = es->sk.gen_steps_post_active = hst;
if (! hst)
return;
es->inv_smooth_time = 1. / smooth_time;