kline_ll_recv return bytes

master
Greg Hogan 2020-06-14 09:22:39 -07:00
parent d0442fd1e4
commit 63fe9f73c3
1 changed files with 1 additions and 1 deletions

View File

@ -598,7 +598,7 @@ class Panda(object):
if DEBUG and len(ret) > 0:
print("kline recv: " + binascii.hexlify(ret))
echo += ret
return str(echo)
return bytes(echo)
def kline_send(self, x, bus=2, checksum=True):
def get_checksum(dat):