mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-19 01:33:52 +08:00
safety_param: change to unsigned (#910)
* make safety_param unsigned * final one * uint32_t * change flags as well * Revert "change flags as well" This reverts commit ed8897dd86b0dbfc80e6b8633f36d80c9bc91052. * unsigned * update health packet version update health packet version * update struct H->I * bump health version * actually used
This commit is contained in:
@@ -170,8 +170,8 @@ class Panda(object):
|
||||
HW_TYPE_RED_PANDA = b'\x07'
|
||||
|
||||
CAN_PACKET_VERSION = 2
|
||||
HEALTH_PACKET_VERSION = 5
|
||||
HEALTH_STRUCT = struct.Struct("<IIIIIIIIBBBBBBBHBBBHIf")
|
||||
HEALTH_PACKET_VERSION = 6
|
||||
HEALTH_STRUCT = struct.Struct("<IIIIIIIIBBBBBBBIBBBHIf")
|
||||
|
||||
F2_DEVICES = (HW_TYPE_PEDAL, )
|
||||
F4_DEVICES = (HW_TYPE_WHITE_PANDA, HW_TYPE_GREY_PANDA, HW_TYPE_BLACK_PANDA, HW_TYPE_UNO, HW_TYPE_DOS)
|
||||
|
||||
Reference in New Issue
Block a user