mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 19:12:07 +08:00
ecam toggle: clear calibration (#20987)
* ecam toggle: clear calibration * whitespace * no more reboot needed old-commit-hash: 9bb2209c8eb88a75367696e79a565545f1fc38d4
This commit is contained in:
@@ -71,9 +71,13 @@ TogglesPanel::TogglesPanel(QWidget *parent) : QWidget(parent) {
|
||||
if (Hardware::TICI()) {
|
||||
toggles.append(new ParamControl("EnableWideCamera",
|
||||
"Enable use of Wide Angle Camera",
|
||||
"Use wide angle camera for driving and ui. Only takes effect after reboot.",
|
||||
"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");
|
||||
});
|
||||
|
||||
toggles.append(new ParamControl("EnableLteOnroad",
|
||||
"Enable LTE while onroad",
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user