summaryrefslogtreecommitdiffstats
path: root/led/ratemon1
diff options
context:
space:
mode:
authorGlenn Humphrey <glenn.humphrey@oarcorp.com>2009-10-12 21:02:40 +0000
committerGlenn Humphrey <glenn.humphrey@oarcorp.com>2009-10-12 21:02:40 +0000
commitb1d5a734778cef6046560a9cdee8ef8b789e6633 (patch)
tree76b0f605dfbbe9e474d15738d759ccce7fb4552c /led/ratemon1
parent2009-10-12 Glenn Humphrey <glenn.humphrey@OARcorp.com> (diff)
downloadrtems-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.c3
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 );