Fixed health struct size. We should really get an automated test for this

master
Robbe 2019-11-22 16:02:08 -08:00
parent f458d67a7c
commit 22464356c3
1 changed files with 1 additions and 1 deletions

View File

@ -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],