Skip to content

Commit

Permalink
skip finished requests
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Jun 30, 2023
1 parent 56a2d5d commit a7e44c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions selfdrive/car/isotp_parallel_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ def get_data(self, timeout, total_timeout=60.):
self.rx()

for tx_addr, msg in msgs.items():
if request_done[tx_addr]:
continue

try:
dat, rx_in_progress = msg.recv()
except Exception:
Expand Down

0 comments on commit a7e44c3

Please sign in to comment.