Merge branch 'brand/toyota/stock-lon' into pre-toyota

This commit is contained in:
Rick Lan
2025-05-27 15:36:13 +08:00
6 changed files with 15 additions and 0 deletions
+3
View File
@@ -108,6 +108,9 @@ class Car:
if self.params.get_bool("dp_toyota_tss1_sng"):
dp_params |= structs.DPFlags.ToyotaTSS1SnG
if self.params.get_bool("dp_toyota_stock_lon"):
dp_params |= structs.DPFlags.ToyotaStockLon
self.CI = get_car(*self.can_callbacks, obd_callback(self.params), experimental_long_allowed, num_pandas, dp_params, cached_params)
self.RI = interfaces[self.CI.CP.carFingerprint].RadarInterface(self.CI.CP)
self.CP = self.CI.CP
+5
View File
@@ -17,6 +17,11 @@ void DPPanel::add_toyota_toggles() {
tr("Enable TSS1 SnG Mod"),
"",
},
{
"dp_toyota_stock_lon",
tr("Use Stock Longitudinal Control"),
"",
},
};
QWidget *label = nullptr;