forked from Imagelibrary/rtems
2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libblock/src/bdbuf.c, libmisc/capture/capture-cli.c, libmisc/capture/capture.c, libmisc/mw-fb/mw_uid.c, rtems/include/rtems/rtems/support.h, score/Makefile.am, score/include/rtems/score/tod.h, score/src/coretod.c, score/src/coretodtickle.c: Eliminate all public use of TOD conversion routines. Eliminate _TOD_Microseconds_per_tick and let every place use the field directly from the Configuration Table. This required moving some methods from macros to bodies. * score/src/coretodmsecstoticks.c, score/src/coretodtickspersec.c, score/src/coretodusectoticks.c: New files.
This commit is contained in:
@@ -443,7 +443,7 @@ rtems_capture_cli_task_load_thread (rtems_task_argument arg)
|
||||
|
||||
cli_load_thread_active = 0;
|
||||
|
||||
rtems_task_wake_after (TOD_MICROSECONDS_TO_TICKS (5000000));
|
||||
rtems_task_wake_after (RTEMS_MICROSECONDS_TO_TICKS (5000000));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -509,7 +509,7 @@ rtems_capture_cli_task_load (int argc,
|
||||
int loops = 20;
|
||||
|
||||
while (loops && cli_load_thread_active)
|
||||
rtems_task_wake_after (TOD_MICROSECONDS_TO_TICKS (100000));
|
||||
rtems_task_wake_after (RTEMS_MICROSECONDS_TO_TICKS (100000));
|
||||
|
||||
rtems_task_delete (id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user