[examples-v2 commit] ratemon2: Use local variable
Joel Sherrill
joel at rtems.org
Thu Oct 24 23:20:00 UTC 2013
Module: examples-v2
Branch: master
Commit: 5805cb6b1192c37c80d5c93b0d49ba88e0cd3e60
Changeset: http://git.rtems.org/examples-v2/commit/?id=5805cb6b1192c37c80d5c93b0d49ba88e0cd3e60
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Thu Oct 24 18:24:15 2013 -0500
ratemon2: Use local variable
---
led/ratemon2/init.c | 2 +-
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();
More information about the vc
mailing list