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
beacon from 2009
[aversive.git]
/
projects
/
microb2010
/
mainboard
/
strat_corn.c
diff --git
a/projects/microb2010/mainboard/strat_corn.c
b/projects/microb2010/mainboard/strat_corn.c
index
e64871e
..
db672bf
100644
(file)
--- a/
projects/microb2010/mainboard/strat_corn.c
+++ b/
projects/microb2010/mainboard/strat_corn.c
@@
-162,7
+162,7
@@
static uint8_t clitoid_select_speed(uint8_t num1, uint8_t dir1,
if (get_cob_count() >= 5)
return 0; /* fast */
if (get_cob_count() >= 5)
return 0; /* fast */
- if (xycoord_to_ijcoord(&x, &y, &i, &j) < 0) {
+ if (xycoord_to_ijcoord
_not_corn
(&x, &y, &i, &j) < 0) {
DEBUG(E_USER_STRAT, "%s(): cannot find waypoint at %d,%d",
__FUNCTION__, x, y);
return 1;
DEBUG(E_USER_STRAT, "%s(): cannot find waypoint at %d,%d",
__FUNCTION__, x, y);
return 1;