mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-21 22:12:05 +08:00
remove wide toggle (#21669)
This commit is contained in:
@@ -165,7 +165,7 @@ std::unordered_map<std::string, uint32_t> keys = {
|
||||
{"CompletedTrainingVersion", PERSISTENT},
|
||||
{"DisablePowerDown", PERSISTENT},
|
||||
{"DisableUpdates", PERSISTENT},
|
||||
{"EnableWideCamera", PERSISTENT},
|
||||
{"EnableWideCamera", CLEAR_ON_MANAGER_START},
|
||||
{"DoUninstall", CLEAR_ON_MANAGER_START},
|
||||
{"DongleId", PERSISTENT},
|
||||
{"GitDiff", PERSISTENT},
|
||||
|
||||
@@ -73,17 +73,6 @@ TogglesPanel::TogglesPanel(QWidget *parent) : QWidget(parent) {
|
||||
"../assets/offroad/icon_road.png",
|
||||
this));
|
||||
|
||||
if (Hardware::TICI()) {
|
||||
toggles.append(new ParamControl("EnableWideCamera",
|
||||
"Enable use of Wide Angle Camera",
|
||||
"Use wide angle camera for driving and ui.",
|
||||
"../assets/offroad/icon_openpilot.png",
|
||||
this));
|
||||
QObject::connect(toggles.back(), &ToggleControl::toggleFlipped, [=](bool state) {
|
||||
Params().remove("CalibrationParams");
|
||||
});
|
||||
}
|
||||
|
||||
#ifdef ENABLE_MAPS
|
||||
toggles.append(new ParamControl("NavSettingTime24h",
|
||||
"Show ETA in 24h format",
|
||||
|
||||
Reference in New Issue
Block a user