Make safety param uint16_t (#931)

* change safety param to uint16_t

* accidental paste
This commit is contained in:
Shane Smiskol
2022-05-02 13:36:19 -07:00
committed by GitHub
parent 326cc2a8db
commit eb662e4e50
20 changed files with 28 additions and 28 deletions

View File

@@ -170,8 +170,8 @@ class Panda(object):
HW_TYPE_RED_PANDA = b'\x07'
CAN_PACKET_VERSION = 2
HEALTH_PACKET_VERSION = 6
HEALTH_STRUCT = struct.Struct("<IIIIIIIIBBBBBBBIBBBHIf")
HEALTH_PACKET_VERSION = 7
HEALTH_STRUCT = struct.Struct("<IIIIIIIIBBBBBBBHBBBHIf")
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)