From 848f0741fe576370a6dff7325ee697d5a4c5df64 Mon Sep 17 00:00:00 2001 From: chrispypatt Date: Fri, 18 Oct 2024 12:53:15 -0500 Subject: [PATCH] Remove commented out secoc long disable code --- opendbc/car/toyota/interface.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/opendbc/car/toyota/interface.py b/opendbc/car/toyota/interface.py index 98a7a86a5c..825e78db28 100644 --- a/opendbc/car/toyota/interface.py +++ b/opendbc/car/toyota/interface.py @@ -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)