Revert "torqued: reset LiveTorqueParameters on calibration reset" (#27736)

Revert "torqued: reset LiveTorqueParameters on calibration reset (#27732)"

This reverts commit 61bcfed6d92a13d994e56c1360d96f6026f40f7e.
old-commit-hash: 46069738d6
beeps
Vivek Aithal 2 years ago committed by GitHub
parent 1187234757
commit 467040bbd0
  1. 1
      selfdrive/ui/qt/offroad/settings.cc

@ -193,7 +193,6 @@ 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