From f535fbdbef0bd1d634f054e6e7eec0634ee8a625 Mon Sep 17 00:00:00 2001 From: u-siri-ous Date: Tue, 3 Mar 2020 18:00:45 +0100 Subject: [PATCH] still test menu, still to test --- src/test_menu.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/test_menu.cpp b/src/test_menu.cpp index ab03396..dddcc3f 100644 --- a/src/test_menu.cpp +++ b/src/test_menu.cpp @@ -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); } \ No newline at end of file