|
From: <jmk...@us...> - 2003-08-15 20:51:10
|
Update of /cvsroot/emc/rtapi/examples/timertask
In directory sc8-pr-cvs1:/tmp/cvs-serv2354/examples/timertask
Modified Files:
timertask.c
Log Message:
Finished converting rtai_rtapi.c, added watchdog example.
Index: timertask.c
===================================================================
RCS file: /cvsroot/emc/rtapi/examples/timertask/timertask.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** timertask.c 14 Aug 2003 04:08:26 -0000 1.11
--- timertask.c 15 Aug 2003 20:45:13 -0000 1.12
***************
*** 49,54 ****
}
! /* set the task priority to lowest, since we only have one task */
! timer_prio = rtapi_prio_lowest();
/* create the timer task */
--- 49,54 ----
}
! /* set the task priority to second lowest, since we only have one task */
! timer_prio = rtapi_prio_next_higher(rtapi_prio_lowest());
/* create the timer task */
***************
*** 85,89 ****
if ( retval != RTAPI_SUCCESS ) {
rtapi_print("timertask exit: rtapi_task_pause returned %d\n", retval );
- return;
}
/* Remove the task from the list */
--- 85,88 ----
***************
*** 93,97 ****
if ( retval != RTAPI_SUCCESS ) {
rtapi_print("timertask exit: rtapi_task_delete returned %d\n", retval );
- return;
}
--- 92,95 ----
|