We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59ff17b commit 75509dbCopy full SHA for 75509db
selfdrive/car/toyota/carstate.py
@@ -36,6 +36,9 @@ def __init__(self, CP):
36
if self.enable_distance_btn:
37
# Previously was publishing from UI
38
self.pm = messaging.PubMaster(['dynamicFollowButton'])
39
+ # set param to true for next restart
40
+ if self.CP.carFingerprint in TSS2_CAR:
41
+ op_params.put('toyota_distance_btn', True)
42
43
def update(self, cp, cp_cam):
44
ret = car.CarState.new_message()
0 commit comments