Revert "test btn"

This reverts commit cd9c9dde9a.
This commit is contained in:
Jason Wen
2025-03-23 22:07:22 -04:00
parent 1652e51ea9
commit 9b36b2e085
2 changed files with 0 additions and 8 deletions
@@ -42,13 +42,6 @@ LateralPanel::LateralPanel(SettingsWindowSP *parent) : QFrame(parent) {
});
list->addItem(madsSettingsButton);
auto testBtn = new PushButtonSP(tr("Test Button State"), 800, this, "NeuralNetworkLateralControl");
QObject::connect(testBtn, &QPushButton::clicked, [=]() {
params.putBool("NeuralNetworkLateralControl", !params.getBool("NeuralNetworkLateralControl"));
testBtn->refresh();
});
list->addItem(testBtn);
nnlcToggle = new NeuralNetworkLateralControl();
list->addItem(nnlcToggle);
@@ -29,7 +29,6 @@ public slots:
void updateToggles(bool _offroad);
private:
Params params;
QStackedLayout* main_layout = nullptr;
QWidget* sunnypilotScreen = nullptr;
ScrollViewSP *sunnypilotScroller = nullptr;