diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-25 15:10:11 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-26 11:55:47 +0200 |
commit | 88c74ab115b5135d4d93050596905d6ee573dd1e (patch) | |
tree | 395b852dd384040e20a6f178e913dddccac436bf /c/src/ada-tests | |
parent | score: Create object implementation header (diff) | |
download | rtems-88c74ab115b5135d4d93050596905d6ee573dd1e.tar.bz2 |
score: Merge tod implementation into one file
Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and
TOD_MILLISECONDS_TO_TICKS().
Diffstat (limited to 'c/src/ada-tests')
-rw-r--r-- | c/src/ada-tests/support/init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/c/src/ada-tests/support/init.c b/c/src/ada-tests/support/init.c index ad98409c3c..983e51d578 100644 --- a/c/src/ada-tests/support/init.c +++ b/c/src/ada-tests/support/init.c @@ -51,8 +51,7 @@ uint32_t milliseconds_per_tick(void) uint32_t ticks_per_second(void) { - /* XXX HACK -- use public API */ - return TOD_TICKS_PER_SECOND; + return rtems_clock_get_ticks_per_second(); } uint32_t work_space_size(void) |