diff options
author | Glenn Humphrey <glenn.humphrey@oarcorp.com> | 2009-10-12 21:02:40 +0000 |
---|---|---|
committer | Glenn Humphrey <glenn.humphrey@oarcorp.com> | 2009-10-12 21:02:40 +0000 |
commit | b1d5a734778cef6046560a9cdee8ef8b789e6633 (patch) | |
tree | 76b0f605dfbbe9e474d15738d759ccce7fb4552c /led/ratemon1 | |
parent | 2009-10-12 Glenn Humphrey <glenn.humphrey@OARcorp.com> (diff) | |
download | rtems-examples-b1d5a734778cef6046560a9cdee8ef8b789e6633.tar.bz2 |
2009-10-12 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* delay/init.c, event_server/init.c, msg_server/init.c,
ratemon1/init.c, ratemon2/init.c, sem_server/init.c,
timeout_event/init.c: Cleaned up unused variables and standardized
for inclusion into RTEMS class materials.
Diffstat (limited to 'led/ratemon1')
-rw-r--r-- | led/ratemon1/init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/led/ratemon1/init.c b/led/ratemon1/init.c index 6f2bffa..1df7a59 100644 --- a/led/ratemon1/init.c +++ b/led/ratemon1/init.c @@ -12,7 +12,6 @@ #include <stdio.h> #include <bsp.h> -#include "../../testmacros.h" #include "../led.h" rtems_task Init( @@ -34,7 +33,7 @@ rtems_task Init( ); count = 0; - ticks = get_ticks_per_second(); + ticks = rtems_clock_get_ticks_per_second(); while (1) { status = rtems_rate_monotonic_period( period_id, ticks ); |