mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-23 07:52:06 +08:00
fix
This commit is contained in:
@@ -351,7 +351,7 @@ SunnypilotPanel::SunnypilotPanel(QWidget *parent) : QFrame(parent) {
|
||||
}
|
||||
});
|
||||
|
||||
connect(toggles["EnforceTorqueLateral"], &ToggleControl::toggleFlipped, [=](bool state) {
|
||||
connect(toggles["EnforceTorqueLateral"], &ToggleControlSP::toggleFlipped, [=](bool state) {
|
||||
if (state) {
|
||||
toggles["NNFF"]->setEnabled(false);
|
||||
params.putBool("NNFF", false);
|
||||
|
||||
Reference in New Issue
Block a user