Skip to content

Commit

Permalink
Fixed health struct size. We should really get an automated test for …
Browse files Browse the repository at this point in the history
…this
  • Loading branch information
robbederks committed Nov 23, 2019
1 parent f458d67 commit 2246435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def call_control_api(self, msg):
# ******************* 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],
Expand Down

0 comments on commit 2246435

Please sign in to comment.