diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-10-24 18:24:15 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-10-24 18:24:15 -0500 |
commit | 5805cb6b1192c37c80d5c93b0d49ba88e0cd3e60 (patch) | |
tree | db01f3e84c917526d1245ce0fcb203a0900957db /led | |
parent | 37373efe19537a61e11251f917cd6c3e454f5208 (diff) |
ratemon2: Use local variable
Diffstat (limited to 'led')
-rw-r--r-- | 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(); |