X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fmainboard%2Fmain.c;h=ce765839c9d5bd5a4a70cf05fac50c1b1a4e43a7;hp=90e9ff1e6e7782bda0e41cee99c91f8d4a40149a;hb=d3a38d6cce69bc7debce828b4ecd3a9c0c866e96;hpb=9d056416278ae5d772a0fc1f7d2d11a4461fb673 diff --git a/projects/microb2010/mainboard/main.c b/projects/microb2010/mainboard/main.c index 90e9ff1..ce76583 100755 --- a/projects/microb2010/mainboard/main.c +++ b/projects/microb2010/mainboard/main.c @@ -68,8 +68,10 @@ #include "cs.h" #include "strat_base.h" #include "strat_db.h" +#include "strat_avoid.h" #include "i2c_protocol.h" + /* 0 means "programmed" * ---- with 16 Mhz quartz * CKSEL 3-0 : 0111 @@ -297,10 +299,11 @@ int main(void) gen.logs[0] = E_USER_STRAT; gen.log_level = 5; strat_db_init(); + test_strat_avoid(); /* strat-related event */ scheduler_add_periodical_event_priority(strat_event, NULL, - 10000L / SCHEDULER_UNIT, + 25000L / SCHEDULER_UNIT, STRAT_PRIO); #ifndef HOST_VERSION