This commit is contained in:
Riccardo
2019-09-25 16:52:51 -07:00
parent b2a30fdbdf
commit 5f2bc44606

View File

@@ -364,7 +364,7 @@ class Panda(object):
pass
def get_version(self):
return bytes(self._handle.controlRead(Panda.REQUEST_IN, 0xd6, 0, 0, 0x40)).decode('utf8')
return self._handle.controlRead(Panda.REQUEST_IN, 0xd6, 0, 0, 0x40).decode('utf8')
def get_type(self):
return self._handle.controlRead(Panda.REQUEST_IN, 0xc1, 0, 0, 0x40)