torqued: reset LiveTorqueParameters on calibration reset (#27732)

pull/27736/head
Jason Wen 2 years ago committed by GitHub
parent e0afaa4eee
commit 18253982db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      selfdrive/ui/qt/offroad/settings.cc

@ -193,6 +193,7 @@ DevicePanel::DevicePanel(SettingsWindow *parent) : ListWidget(parent) {
connect(resetCalibBtn, &ButtonControl::clicked, [&]() {
if (ConfirmationDialog::confirm(tr("Are you sure you want to reset calibration?"), tr("Reset"), this)) {
params.remove("CalibrationParams");
params.remove("LiveTorqueParameters")
}
});
addItem(resetCalibBtn);

Loading…
Cancel
Save