Skip to content

Commit b5d8230

Browse files
arne182rbiasini
arne182
authored andcommitted
add self.CP = CP as with other carstate files (#459)
1 parent 853bcda commit b5d8230

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

selfdrive/car/gm/carstate.py

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def get_powertrain_can_parser(CP, canbus):
5151

5252
class CarState(object):
5353
def __init__(self, CP, canbus):
54+
self.CP = CP
5455
# initialize can parser
5556

5657
self.car_fingerprint = CP.carFingerprint

0 commit comments

Comments
 (0)