Fix panda libs
parent
47bba700d4
commit
01244d7557
|
@ -346,7 +346,7 @@ class Panda(object):
|
||||||
# ******************* health *******************
|
# ******************* health *******************
|
||||||
|
|
||||||
def health(self):
|
def health(self):
|
||||||
dat = self._handle.controlRead(Panda.REQUEST_IN, 0xd2, 0, 0, 37)
|
dat = self._handle.controlRead(Panda.REQUEST_IN, 0xd2, 0, 0, 41)
|
||||||
a = struct.unpack("IIIIIIIIBBBBBBBBB", dat)
|
a = struct.unpack("IIIIIIIIBBBBBBBBB", dat)
|
||||||
return {
|
return {
|
||||||
"uptime": a[0],
|
"uptime": a[0],
|
||||||
|
|
Loading…
Reference in New Issue