mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-09-14 19:43:53 +08:00
Merge branch 'brand/toyota/stock-lon' into pre-toyota
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user