mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-05 00:05:57 +08:00
add self.CP = CP as with other carstate files (#459)
old-commit-hash: b5d8230c3dbee95f5d72764b0f96c2372c601b5a
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