refactor, comment and move speedometerTest

This commit is contained in:
2023-02-13 20:55:31 +01:00
parent deecf7724c
commit 76ad017475
7 changed files with 88 additions and 48 deletions
-4
View File
@@ -275,7 +275,6 @@ void makeMenu() {
MenuGPS* gps_m = new MenuGPS(driveManager);
MenuSysteminformation* sys_m = new MenuSysteminformation(mainBattery, gamepad);
MenuRoute* rout_m = new MenuRoute(driveManager->getNavigation()->getRoute());
MenuTest* test_m = new MenuTest(moveController.getSpeedometerLeft());
// Set Menus on LCD
main_m->setLcd(lcdWrapper);
@@ -290,7 +289,6 @@ void makeMenu() {
gps_m->setLcd(LcdWrapper);
sys_m->setLcd(LcdWrapper);
rout_m->setLcd(LcdWrapper);
test_m->setLcd(LcdWrapper);
// Entry for the main menu
@@ -301,13 +299,11 @@ void makeMenu() {
MenuAction* contr_e = new MenuAction("Remove PS3", disconnectController);
MenuAction* sys_e = new MenuAction("Systeminfo", sys_m);
MenuAction* rout_e = new MenuAction("Route", rout_m);
MenuAction* test_e = new MenuAction("Test", test_m);
main_m->addEntry(mode_e);
main_m->addEntry(gps_e);
main_m->addEntry(rout_e);
main_m->addEntry(pid_e);
main_m->addEntry(sys_e);
main_m->addEntry(test_e);
main_m->addEntry(contr_e);
main_m->addEntry(restart_e);