forked from Imagelibrary/rtems
2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* cdtest/main.cc, fileio/init.c, fileio/system.h, pppd/pppdapp.c, ticker/system.h, ticker/tasks.c: Eliminate test routines TICKS_PER_SECOND and get_ticks_per_second() in favor of new rtems_clock_get_ticks_per_second().
This commit is contained in:
@@ -100,16 +100,6 @@ rtems_task Init(
|
||||
putchar( '\n' ); \
|
||||
} while (0)
|
||||
|
||||
/*
|
||||
* static inline routine to make obtaining ticks per second easier.
|
||||
*/
|
||||
|
||||
static inline uint32_t get_ticks_per_second( void )
|
||||
{
|
||||
return rtems_clock_get_ticks_per_second();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* This allows us to view the "Test_task" instantiations as a set
|
||||
* of numbered tasks by eliminating the number of application
|
||||
|
||||
Reference in New Issue
Block a user