Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1549 → Rev 1550

/demos/trunk/pci6025e/test_mes.c
100,7 → 100,7
 
if(!reMap()){
sys = 11;
sys_end();
exit(1);
}
 
soft_task_default_model(show_model);
112,7 → 112,7
if( (show_pid = task_create("Show task", show_body, &show_model, NULL))
== NIL ){
sys = 20;
sys_end();
exit(1);
}
 
hard_task_default_model(gating);
121,13 → 121,13
hard_task_def_arg(gating, C0);
if( (c0_gate_pid = task_create("C0 Gate task", gate_body, &gating, NULL)) == NIL ){
sys = 21;
sys_end();
exit(1);
}
 
hard_task_def_arg(gating, (void *)C1);
if( (c1_gate_pid = task_create("C1 Gate task", gate_body, &gating, NULL)) == NIL ){
sys = 22;
sys_end();
exit(1);
}
 
drawInterface();
250,7 → 250,7
{
closeEvent(NULL);
sys_end();
exit(1);
}
 
void gateEvent(KEY_EVT *k)