aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper/__init__.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-12-08 19:54:36 -0500
committerKevin O'Connor <kevin@koconnor.net>2019-12-08 20:41:35 -0500
commit080ee0b512ec2543f6452da480429e652b9a8a32 (patch)
tree251ea5680b08cd5a5ca29120507ec8997584837a /klippy/chelper/__init__.py
parent730a6d868bd2c23c7383a78ba9acec3ed3f7fdab (diff)
downloadkutter-080ee0b512ec2543f6452da480429e652b9a8a32.tar.gz
kutter-080ee0b512ec2543f6452da480429e652b9a8a32.tar.xz
kutter-080ee0b512ec2543f6452da480429e652b9a8a32.zip
kin_extruder: Apply pressure advance in kin_extruder.c
Implement the pressure advance calculations while performing the definitive integral calculations. This simplifies both the extruder.py and kin_extruder.c code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/__init__.py')
-rw-r--r--klippy/chelper/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/chelper/__init__.py b/klippy/chelper/__init__.py
index b0b11dac..91114216 100644
--- a/klippy/chelper/__init__.py
+++ b/klippy/chelper/__init__.py
@@ -91,8 +91,8 @@ defs_kin_winch = """
defs_kin_extruder = """
struct stepper_kinematics *extruder_stepper_alloc(void);
- void extruder_set_pressure(struct stepper_kinematics *sk
- , double pressure_advance, double half_smooth_time);
+ void extruder_set_smooth_time(struct stepper_kinematics *sk
+ , double smooth_time);
"""
defs_serialqueue = """