summaryrefslogtreecommitdiff
path: root/led
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-10-24 18:24:15 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-10-24 18:24:15 -0500
commit5805cb6b1192c37c80d5c93b0d49ba88e0cd3e60 (patch)
treedb01f3e84c917526d1245ce0fcb203a0900957db /led
parent37373efe19537a61e11251f917cd6c3e454f5208 (diff)
ratemon2: Use local variable
Diffstat (limited to 'led')
-rw-r--r--led/ratemon2/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/led/ratemon2/init.c b/led/ratemon2/init.c
index cf0df2f..c27150b 100644
--- a/led/ratemon2/init.c
+++ b/led/ratemon2/init.c
@@ -40,7 +40,7 @@ rtems_task Init(
status = rtems_rate_monotonic_period( period_id1, 2 * ticks );
LED_OFF();
- (void) rtems_task_wake_after( 1 * rtems_clock_get_ticks_per_second() );
+ (void) rtems_task_wake_after( ticks );
status = rtems_rate_monotonic_period( period_id2, 2 * ticks );
LED_ON();