added configureonLeave, now its possible to reset

autopilot
This commit is contained in:
2023-04-27 13:38:33 +02:00
parent 250fb6802b
commit 01710ab2ae
2 changed files with 3 additions and 5 deletions
@@ -17,6 +17,7 @@ MenuDriveMode::MenuDriveMode(DriveManager* driveManager) {
void MenuDriveMode::left() {
this->firstPrint = true;
this->configureOnLeave();
this->driveManager->changeModus(Modi::Off);
if (parentMenu)
this->parentMenu->printMenu();