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 <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2017-03-03 14:13:35 -05:00
parent 6a53eaefc0
commit 54002c4391
1 changed files with 4 additions and 0 deletions

View File

@ -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: