From 54002c43914ea7a88cb831fe16bbfb695c533f74 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 3 Mar 2017 14:13:35 -0500 Subject: [PATCH] extruder: Pressure advance lookahead time should start after decel The pressure advance lookahead time should start after any full deceleration moves. Signed-off-by: Kevin O'Connor --- klippy/extruder.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/klippy/extruder.py b/klippy/extruder.py index 1c64fbf2..c59bee14 100644 --- a/klippy/extruder.py +++ b/klippy/extruder.py @@ -83,6 +83,10 @@ class PrinterExtruder: if not fmove.max_start_v2: break if fmove.cruise_v > max_corner_v: + if (not max_corner_v + and not fmove.accel_t and not fmove.cruise_t): + # Start timing after any full decel moves + continue if sum_t >= fmove.accel_t: max_corner_v = fmove.cruise_v else: