Changeset fa342bc7 in rtems


Ignore:
Timestamp:
Aug 10, 2009, 2:54:31 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
e9bb4fb
Parents:
573f8d4
Message:

2009-08-10 Joel Sherrill <joel.sherrill@…>

  • ticker/tasks.c: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
Location:
testsuites/samples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/ChangeLog

    r573f8d4 rfa342bc7  
     12009-08-10      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * ticker/tasks.c: Convert calls to legacy routine rtems_clock_get(
     4        RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
     5
    162009-08-10      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • testsuites/samples/ticker/tasks.c

    r573f8d4 rfa342bc7  
    3232  task_index = task_number( tid );
    3333  for ( ; ; ) {
    34     status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
     34    status = rtems_clock_get_tod( &time );
    3535    if ( time.second >= 35 ) {
    3636      puts( "*** END OF CLOCK TICK TEST ***" );
     
    3838    }
    3939    put_name( Task_name[ task_index ], FALSE );
    40     print_time( " - rtems_clock_get - ", &time, "\n" );
     40    print_time( " - rtems_clock_get_tod - ", &time, "\n" );
    4141    status = rtems_task_wake_after( task_index * 5 * get_ticks_per_second() );
    4242  }
Note: See TracChangeset for help on using the changeset viewer.