still test menu, still to test

code_midgen
u-siri-ous 2020-03-03 18:00:45 +01:00
parent d06b553f15
commit f535fbdbef
1 changed files with 5 additions and 3 deletions

View File

@ -54,7 +54,7 @@ void TestMenu :: testMenu(){
do{
switch(testNum){
case '0':
DEBUG.println("Exiting test menu, play good ;)");
DEBUG.println("Exiting test menu, may the odds be in your favor c:");
flagtest = false;
return;
break;
@ -89,16 +89,18 @@ void TestMenu :: testMenu(){
currentRole = DEBUG.read();
switch(currentRole){
case '1':
((LineSysCamera*)goalie->ls)->test();
(goalie->ls)->test();
break;
case '2':
((LineSysCamera*)keeper->ls)->test();
(keeper->ls)->test();
break;
default:
DEBUG.println("INVALID ROLE");
break;
}
break;
default:
break;
}
} while (DEBUG.available() == 0);
}