This commit is contained in:
George Hotz 2018-03-08 18:18:35 -08:00
parent 083cd12875
commit 81e6b0dc98
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ def isotp_send(panda, x, addr, bus=0, recvaddr=None, subaddr=None):
# actually send
panda.can_send(addr, ss, bus)
rr = recv(panda, 1, recvaddr, bus)[0]
if rr.find("\x30\x01"):
if rr.find("\x30\x01") != -1:
for s in sends[:-1]:
panda.can_send(addr, s, 0)
rr = recv(panda, 1, recvaddr, bus)[0]