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>
This commit is contained in:
@@ -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 = """
|
||||
|
||||
Reference in New Issue
Block a user