Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1368 → Rev 1369

/demos/trunk/rtw/rtw.c
173,7 → 173,7
}
break;
default:
cprintf("Unable to initialize rtInf, rtMinusInf and rtNaN\n");
cprintf("Error: Unable to initialize rtInf, rtMinusInf and rtNaN\n");
sys_end();
break;
}
251,7 → 251,7
 
S = MODEL();
if (rtmGetErrorStatus(S) != NULL) {
cprintf("Error during model registration: %s\n",
cprintf("Error: Model registration: %s\n",
rtmGetErrorStatus(S));
sys_end();
}
272,7 → 272,7
&rtmGetTimingData(S));
 
if (status != NULL) {
cprintf("Failed to initialize sample time engine: %s\n", status);
cprintf("Error: Failed to initialize sample time engine: %s\n", status);
sys_end();
}
310,17 → 310,17
rtExtModeShutdown();
 
if (GBLbuf.errmsg) {
cprintf("%s\n",GBLbuf.errmsg);
cprintf("Error: %s\n",GBLbuf.errmsg);
sys_end();
}
 
if (GBLbuf.isrOverrun) {
cprintf("%s: ISR overrun - base sampling rate is too fast\n",QUOTE(MODEL));
cprintf("Error: %s: ISR overrun - base sampling rate is too fast\n",QUOTE(MODEL));
sys_end();
}
 
if (rtmGetErrorStatus(S) != NULL) {
cprintf("%s\n", rtmGetErrorStatus(S));
cprintf("Error: %s\n", rtmGetErrorStatus(S));
sys_end();
}
 
374,7 → 374,7
 
RTW_pid = task_create("RTW",RTW_body,&RTW_task,NULL);
if (RTW_pid == NIL) {
cprintf("Error creating RealTime Workshop Task\n");
cprintf("Error: Cannot create RealTime Workshop Task\n");
sys_end();
}