fix bug in route add akku menu begin with akkuread
This commit is contained in:
@@ -50,13 +50,13 @@ void MenuAkku::printMenu() {
|
||||
else sprintf(buf, "UNDEF");
|
||||
|
||||
if (this->lcd) {
|
||||
|
||||
} else {
|
||||
lcd->clear();
|
||||
lcd->setCursor(0, 0);
|
||||
lcd->printf("Controller: %s", buf);
|
||||
lcd->setCursor(0, 1);
|
||||
lcd->printf("Main: %u%%", mainBattery);
|
||||
} else {
|
||||
std::cout << "Controller: " << buf << "Main: " << mainBattery << "%" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,4 +66,4 @@ void MenuAkku::update() {
|
||||
}
|
||||
this->printMenu();
|
||||
this->last_millis = millis();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user