From 22464356c3f7ab6a0e82960c73acb9037c009ef5 Mon Sep 17 00:00:00 2001 From: Robbe Date: Fri, 22 Nov 2019 16:02:08 -0800 Subject: [PATCH] Fixed health struct size. We should really get an automated test for this --- python/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/__init__.py b/python/__init__.py index 638dfee750d615..0a3bdc3cfc10ed 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -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],