diff --git a/module/botball/src/botball_c.cpp b/module/botball/src/botball_c.cpp index ad70d24d..ff1c5bc2 100644 --- a/module/botball/src/botball_c.cpp +++ b/module/botball/src/botball_c.cpp @@ -140,7 +140,7 @@ void wait_for_light(int port) printf("Threshold Value: %d \n \n", threshold); printf("Current Value: %d <---- \n", analog(port)); - unsigned long startTime = systime() + unsigned long startTime = systime(); while ((systime() - startTime) < 2000) { if (analog(port) > threshold) { break;