saved status of freezing target point in the

autopilot menu
This commit is contained in:
2023-05-23 23:24:16 +02:00
parent a6e35167d8
commit 7418adb027
2 changed files with 6 additions and 3 deletions
@@ -168,10 +168,13 @@ void MenuAutopilot::runCommand() const {
break;
case 7:
if (this->targetFreezed)
if (this->targetFreezed) {
this->targetFreezed = false;
this->driveManager->getNavigation()->freezeTargetPoint(false);
else
} else {
this->targetFreezed = true;
this->driveManager->getNavigation()->freezeTargetPoint();
}
break;
default: