fix bug in route add akku menu begin with akkuread

This commit is contained in:
2022-02-05 22:41:25 +01:00
parent aa9bf99349
commit 1ef44864e2
12 changed files with 141 additions and 42 deletions
@@ -71,7 +71,6 @@ void MenuAutopilot::printMenu() {
} else
std::cout << buf1 << " " << buf2 << std::endl;
}
void MenuAutopilot::update() {
@@ -91,4 +90,4 @@ void MenuAutopilot::init() {
this->driveManager->changeModus(Modi::Autopilot);
this->autopilot = (Autopilot*) this->driveManager->getDriveModiPtr();
this->routeInfo = this->autopilot->getRouteInfo();
}
}
@@ -27,7 +27,7 @@ class MenuAutopilot : public MenuDriveMode {
RouteInfo routeInfo;
uint32_t last_millis = 0;
uint16_t minDelay = 500;
uint16_t minDelay = 1500;
};
#endif // MENU_AUTOPILOT_DRIVE_H
#endif // MENU_AUTOPILOT_DRIVE_H