Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Robocode by
Diff: source/Main.cpp
- Revision:
- 120:cdf7a6751f9e
- Parent:
- 119:eb212467afb0
- Child:
- 122:8bfb39434fb7
diff -r eb212467afb0 -r cdf7a6751f9e source/Main.cpp
--- a/source/Main.cpp Fri May 12 08:33:04 2017 +0000
+++ b/source/Main.cpp Fri May 12 15:20:45 2017 +0000
@@ -72,7 +72,7 @@
break;
case 16:
state = inital_arm_positioning();
- state = 47; // change state here for test cases
+ //state = 47; // change state here for test cases
break;
case 17:
state = initial_positioning();
@@ -100,6 +100,7 @@
break;
case 36:
state = pathfinding();
+ state = 0;
break;
case 37:
state = switch_target_red();
