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
+3 -3
View File
@@ -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();
}
}