Changeset e082954 in examples-v2


Ignore:
Timestamp:
Jun 13, 2011, 2:19:07 PM (8 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 286403d7a3d0e521179e677c0d2fd7549c9ceab4
Children:
91e5189
Parents:
b784b0a
Message:

2011-06-13 Joel Sherrill <joel.sherrill@…>

  • testmacros.h: Eliminate use of obsolete rtems_clock_get().
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rb784b0a re082954  
     12011-06-13      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * testmacros.h: Eliminate use of obsolete rtems_clock_get().
     4
    152011-04-01      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • testmacros.h

    rb784b0a re082954  
    5454
    5555/*
    56  *  static inline routine to make obtaining ticks per second easier.
    57  */
    58 
    59 static inline uint32_t get_ticks_per_second( void )
    60 {
    61   rtems_interval ticks_per_second;
    62   (void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticks_per_second );  return ticks_per_second;
    63 }
    64 
    65 
    66 /*
    6756 *  This allows us to view the "Test_task" instantiations as a set
    6857 *  of numbered tasks by eliminating the number of application
Note: See TracChangeset for help on using the changeset viewer.