Fixed health struct size. We should really get an automated test for this
parent
f458d67a7c
commit
22464356c3
|
@ -346,7 +346,7 @@ class Panda(object):
|
|||
# ******************* health *******************
|
||||
|
||||
def health(self):
|
||||
dat = self._handle.controlRead(Panda.REQUEST_IN, 0xd2, 0, 0, 28)
|
||||
dat = self._handle.controlRead(Panda.REQUEST_IN, 0xd2, 0, 0, 33)
|
||||
a = struct.unpack("IIIIIIBBBBBBBBB", dat)
|
||||
return {
|
||||
"uptime": a[0],
|
||||
|
|
Loading…
Reference in New Issue