add self.CP = CP as with other carstate files (#459)

old-commit-hash: b5d8230c3d
This commit is contained in:
arne182
2018-12-21 08:40:26 +01:00
committed by rbiasini
parent 11ab869526
commit 2548bc8adf
+1
View File
@@ -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