From 1654d02d6f1ad09e4dbc5fd58e1b6ecc476b30bc Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 10 Aug 2009 14:50:11 +0000 Subject: 2009-08-10 Joel Sherrill * itrontask01/task1.c: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..). --- testsuites/itrontests/ChangeLog | 5 +++++ testsuites/itrontests/itrontask01/task1.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'testsuites/itrontests') diff --git a/testsuites/itrontests/ChangeLog b/testsuites/itrontests/ChangeLog index 8f49496628..b36c8b830e 100644 --- a/testsuites/itrontests/ChangeLog +++ b/testsuites/itrontests/ChangeLog @@ -1,3 +1,8 @@ +2009-08-10 Joel Sherrill + + * itrontask01/task1.c: Convert calls to legacy routine rtems_clock_get( + RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..). + 2009-04-03 Ralf Corsépius * itronhello/Makefile.am, itronmbf01/Makefile.am, diff --git a/testsuites/itrontests/itrontask01/task1.c b/testsuites/itrontests/itrontask01/task1.c index c8f0b54db1..01bdc28cc7 100644 --- a/testsuites/itrontests/itrontask01/task1.c +++ b/testsuites/itrontests/itrontask01/task1.c @@ -36,8 +36,8 @@ void Task_2_through_4() sprintf(name, "TA%d", tid_index); while( FOREVER ) { - status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time ); - directive_failed( status, "rtems_clock_get" ); + status = rtems_clock_get_tod( &time ); + directive_failed( status, "rtems_clock_get_tod" ); if ( time.second >= 35 ) { puts( "*** END OF ITRON TASK TEST 1 ***" ); @@ -45,7 +45,7 @@ void Task_2_through_4() } printf(name); - print_time( " - rtems_clock_get - ", &time, "\n" ); + print_time( " - rtems_clock_get_tod - ", &time, "\n" ); status = rtems_task_wake_after( tid_index * 5 * TICKS_PER_SECOND ); directive_failed( status, "rtems_task_wake_after" ); -- cgit v1.2.3