integrated menuInformationsSites to
driveMenu items
This commit is contained in:
@@ -11,10 +11,7 @@
|
||||
|
||||
#include "menuAutopilot.h"
|
||||
|
||||
void MenuAutopilot::printMenu() {
|
||||
if (this->firstPrint)
|
||||
this->init();
|
||||
|
||||
void MenuAutopilot::printPage() const {
|
||||
char buf1[17];
|
||||
char buf2[17];
|
||||
char unit[3];
|
||||
@@ -72,7 +69,7 @@ void MenuAutopilot::update() {
|
||||
}
|
||||
|
||||
void MenuAutopilot::init() {
|
||||
this->firstPrint = false;
|
||||
this->setCountPages(4);
|
||||
this->driveManager->changeModus(Modi::Autopilot);
|
||||
this->autopilot = (Autopilot*) this->driveManager->getDriveModiPtr();
|
||||
this->routeInfo = this->autopilot->getRouteInfo();
|
||||
|
||||
Reference in New Issue
Block a user