Skip to content

Commit

Permalink
Update interface.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CT921 authored Sep 18, 2023
1 parent b41587c commit 6a8a398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/toyota/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def _update(self, c):
# while in standstill, send a user alert
events.add(EventName.manualRestart)

if self.dp_atl and (self.CP.carFingerprint in TSS2_CAR or (self.CP.flags & ToyotaFlags.SMART_DSU)):
if self.dp_atl and (self.CP.carFingerprint in TSS2_CAR or (self.CP.flags & ToyotaFlags.SMART_DSU)):
if not self.prev_atl and ret.cruiseState.available:
events.add(EventName.atlEngageSound)
Params().put_bool("LateralAllowed", True)
Expand Down

0 comments on commit 6a8a398

Please sign in to comment.