Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1234 → Rev 1235

/demos/trunk/loader/newloader.c
21,14 → 21,12
 
while((l->act_number) > act) {
 
act++;
 
#ifdef TASK_OUTPUT
sprintf(tmp,"X[%06d]",act);
printf_xy((get_current_exec_task() % 5) * 9 + 34,get_current_exec_task() / 5 + 5, GREEN, tmp);
#endif
 
generic_set_next_activation(&l->act[act]);
if (l->act_number > act+1) generic_set_next_activation(&l->act[act+1]);
 
exec_cycles = (long long)(TIMESPEC2USEC(&l->exec[act])) * CALIBRATION_DELTA / cal_cycles;
38,10 → 36,11
#endif
for (i=0;i<exec_cycles;i++) calibration_func();
generic_task_endcycle();
act++;
}
return NULL;
58,6 → 57,8
 
total_task = sizeof(loader_task_list)/sizeof(struct loader_task);
 
cprintf("Created 1 %d loader tasks\n",total_task);
 
while (k < total_task) {
k++;
total_group++;