motion_queuing: Improve run to run stability of flushing when in debug mode
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
1 parent
8c7693c048
commit
30a1f22e1d
1 file changed
+2
-2
@@ -224,8 +224,8 @@ class PrinterMotionQueuing:
|
||||
flush_count = 0
|
||||
while self.last_step_gen_time < faux_time:
|
||||
target = self.last_step_gen_time + batch_time
|
||||
if flush_count > 100.:
|
||||
target = faux_time
|
||||
if flush_count > 100. and faux_time > target:
|
||||
target += int((faux_time-target) / batch_time) * batch_time
|
||||
self._advance_flush_time(0., target)
|
||||
flush_count += 1
|
||||
if flush_count:
|
||||
|
||||
Reference in new issue
Block a user