git.droids-corp.org
/
aversive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
restore first circle algo + hostsim work
[aversive.git]
/
projects
/
microb2010
/
tests
/
hostsim
/
strat_utils.c
diff --git
a/projects/microb2010/tests/hostsim/strat_utils.c
b/projects/microb2010/tests/hostsim/strat_utils.c
index
8fcecb2
..
57c5a0b
100644
(file)
--- a/
projects/microb2010/tests/hostsim/strat_utils.c
+++ b/
projects/microb2010/tests/hostsim/strat_utils.c
@@
-402,7
+402,7
@@
uint8_t wait_scan_done(uint16_t timeout)
uint8_t opponent_is_behind(void)
{
int8_t opp_there;
- int16_t opp_d
, opp_a
;
+ int16_t opp_d
= 0, opp_a = 0
;
opp_there = get_opponent_da(&opp_d, &opp_a);
if (opp_there && (opp_a < 215 && opp_a > 145) && opp_d < 600)