mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 02:22:09 +08:00
add self.CP = CP as with other carstate files (#459)
old-commit-hash: b5d8230c3d
This commit is contained in:
@@ -51,6 +51,7 @@ def get_powertrain_can_parser(CP, canbus):
|
||||
|
||||
class CarState(object):
|
||||
def __init__(self, CP, canbus):
|
||||
self.CP = CP
|
||||
# initialize can parser
|
||||
|
||||
self.car_fingerprint = CP.carFingerprint
|
||||
|
||||
Reference in New Issue
Block a user