Skip to content

Commit

Permalink
Remove commented out secoc long disable code
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispypatt committed Oct 18, 2024
1 parent b464ceb commit ce6b289
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions opendbc/car/toyota/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,6 @@ def _get_params(ret: structs.CarParams, candidate, fingerprint, car_fw, experime
# openpilot longitudinal behind experimental long toggle:
# - TSS2 radar ACC cars (disables radar)

# if ret.flags & ToyotaFlags.SECOC.value:
# ret.openpilotLongitudinalControl = False
# else:
ret.openpilotLongitudinalControl = ret.enableDsu or \
candidate in (TSS2_CAR - RADAR_ACC_CAR) or \
bool(ret.flags & ToyotaFlags.DISABLE_RADAR.value)
Expand Down

0 comments on commit ce6b289

Please sign in to comment.