Skip to content

Commit 848f074

Browse files
author
chrispypatt
committed
Remove commented out secoc long disable code
1 parent af96bc2 commit 848f074

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

opendbc/car/toyota/interface.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,6 @@ def _get_params(ret: structs.CarParams, candidate, fingerprint, car_fw, experime
117117
# openpilot longitudinal behind experimental long toggle:
118118
# - TSS2 radar ACC cars (disables radar)
119119

120-
# if ret.flags & ToyotaFlags.SECOC.value:
121-
# ret.openpilotLongitudinalControl = False
122-
# else:
123120
ret.openpilotLongitudinalControl = ret.enableDsu or \
124121
candidate in (TSS2_CAR - RADAR_ACC_CAR) or \
125122
bool(ret.flags & ToyotaFlags.DISABLE_RADAR.value)

0 commit comments

Comments
 (0)