X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fmainboard%2Fstrat_base.h;h=d8b61e5615ee869245c7f24a9ecfaddee7eed087;hp=27e1497f543400da9bdfa6792d2ffe9ae716fbc9;hb=b022f257a5ee568737e1a684a83d0154397fffcb;hpb=5918edd6f4f713ef3c8b0b0020dd30a4fb8222ae diff --git a/projects/microb2010/mainboard/strat_base.h b/projects/microb2010/mainboard/strat_base.h index 27e1497..d8b61e5 100644 --- a/projects/microb2010/mainboard/strat_base.h +++ b/projects/microb2010/mainboard/strat_base.h @@ -26,8 +26,9 @@ #define END_OBSTACLE 8 /* There is an obstacle in front of us */ #define END_ERROR 16 /* Cannot do the command */ #define END_INTR 32 /* interrupted by user */ -#define END_TIMER 64 /* we don't a lot of time */ -#define END_RESERVED 128 /* reserved */ +#define END_TIMER 64 /* we don't have a lot of time */ +#define END_RESERVED 128 /* reserved... be careful, sometimes error is + coded on a int8_t */ /* only valid after a END_OBSTACLE */ struct opponent_obstacle { @@ -59,10 +60,6 @@ void strat_start(void); * times. */ uint8_t strat_goto_xy_force(int16_t x, int16_t y); -/* escape from disc polygon or another zone */ -struct build_zone; -uint8_t strat_escape(struct build_zone *zone, uint8_t flags); - /* return true if we have to brake due to an obstacle */ uint8_t strat_obstacle(void);