better cobboard commands in strat_event
[aversive.git] / projects / microb2010 / mainboard / main.c
index 8616303..b6a12c8 100755 (executable)
@@ -185,6 +185,8 @@ int main(void)
        memset(&mainboard, 0, sizeof(mainboard));
        mainboard.flags = DO_ENCODERS | DO_CS | DO_RS |
                DO_POS | DO_POWER | DO_BD | DO_ERRBLOCKING;
+       ballboard.lcob = I2C_COB_NONE;
+       ballboard.rcob = I2C_COB_NONE;
 
        /* UART */
        uart_init();
@@ -298,7 +300,7 @@ int main(void)
 
        /* strat-related event */
        scheduler_add_periodical_event_priority(strat_event, NULL,
-                                               10000L / SCHEDULER_UNIT,
+                                               25000L / SCHEDULER_UNIT,
                                                STRAT_PRIO);
 
 #ifndef HOST_VERSION