diff options
Diffstat (limited to 'testsuites/sptests/sp06/task2.c')
-rw-r--r-- | testsuites/sptests/sp06/task2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/sptests/sp06/task2.c b/testsuites/sptests/sp06/task2.c index b7d1d8df63..2214623dd3 100644 --- a/testsuites/sptests/sp06/task2.c +++ b/testsuites/sptests/sp06/task2.c @@ -8,7 +8,7 @@ * * Output parameters: NONE * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -27,13 +27,13 @@ rtems_task_argument argument; puts( "TA2 - is beginning to run" ); if ( argument == Argument ) { - status = rtems_task_wake_after( 2 * TICKS_PER_SECOND ); + status = rtems_task_wake_after( 2 * rtems_clock_get_ticks_per_second() ); directive_failed( status, "rtems_task_wake_after" ); } while( FOREVER ) { puts( "TA2 - rtems_task_wake_after - sleep 1/2 second" ); - status = rtems_task_wake_after( TICKS_PER_SECOND / 2 ); + status = rtems_task_wake_after( rtems_clock_get_ticks_per_second() / 2 ); directive_failed( status, "rtems_task_wake_after" ); } } |