Tobis Programm forked to not destroy your golden files

Dependencies:   mbed

Fork of Robocode by PES 2 - Gruppe 1

Revision:
119:eb212467afb0
Parent:
114:720dc5df42a5
Parent:
115:c8ea0cd9b20c
Child:
120:cdf7a6751f9e
diff -r fbd6d41f6ce8 -r eb212467afb0 source/StartUp.cpp
--- a/source/StartUp.cpp	Fri May 12 08:29:53 2017 +0000
+++ b/source/StartUp.cpp	Fri May 12 08:33:04 2017 +0000
@@ -19,7 +19,7 @@
 {
 
     if(get_user() == false && stb2) {
-        return 47;
+        return 25;
     } else {
         stb2 = true;
         wait_ms(100);
@@ -54,9 +54,10 @@
         turn_for_deg(180,1);
     } else {
         printf("turning...\r\n");
-        if(1) { // check if turning complete
-            printf("turn finished...\r\n");
-            return 35;
+        if(turn_for_deg(0) < 0) { // check if turning complete
+            // printf("turn finished...\r\n");
+            
+            return 102;
         }
     }
     return 28;