still test menu, still to test

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