X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fmainboard%2Fstrat_corn.c;fp=projects%2Fmicrob2010%2Fmainboard%2Fstrat_corn.c;h=e64871e2b226e9f24a2833b57d111c04bb9f6b2d;hp=77c9a51904e002ed48d23d9a21b76958ec02e09d;hb=b699727efceb661be65fbd22e975565b800c628e;hpb=14882b174c151ab59578be5fde147cecc6421e75 diff --git a/projects/microb2010/mainboard/strat_corn.c b/projects/microb2010/mainboard/strat_corn.c index 77c9a51..e64871e 100644 --- a/projects/microb2010/mainboard/strat_corn.c +++ b/projects/microb2010/mainboard/strat_corn.c @@ -171,10 +171,12 @@ static uint8_t clitoid_select_speed(uint8_t num1, uint8_t dir1, if (corn_count_neigh(i, j) == 2) return 1; - /* we are on intersection, let's go slow... but as we enter in - * the curve-part of the clitoid, we should not go there */ + + /* we are on intersection, keep the same speed... but as we + * enter in the curve-part of the clitoid, we should not go + * there */ if (wp_belongs_to_line(i, j, num2, dir2)) - return 0; + return clitoid_slow; /* we can ge fast if it's a 60deg angle and if we checked the * current point */