diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-03-15 10:31:01 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-03-17 10:05:08 -0500 |
commit | 72d3f1a65ee8cfded448eb0bdae00e50078bfdb1 (patch) | |
tree | 4c023daf28615a84156cd9a11d6947179367aa2f /testsuites/sptests/spcbssched03/tasks_periodic.c | |
parent | cpukit/include/rtems/btimer.h: Improve brief (diff) | |
download | rtems-72d3f1a65ee8cfded448eb0bdae00e50078bfdb1.tar.bz2 |
spcbssched03/tasks_periodic.c: Fixed now used before set warning
Diffstat (limited to 'testsuites/sptests/spcbssched03/tasks_periodic.c')
-rw-r--r-- | testsuites/sptests/spcbssched03/tasks_periodic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuites/sptests/spcbssched03/tasks_periodic.c b/testsuites/sptests/spcbssched03/tasks_periodic.c index 37b15b4712..aa68228145 100644 --- a/testsuites/sptests/spcbssched03/tasks_periodic.c +++ b/testsuites/sptests/spcbssched03/tasks_periodic.c @@ -104,6 +104,7 @@ rtems_task Tasks_Periodic( /* Specific scenario for task 4: tries to exceed announced budget, the task priority has to be pulled down to background. */ + now = rtems_clock_get_ticks_since_boot(); if ( !scenario_done && argument == 4 && now >= 200 ) { Violating_task[ argument ] = 1; scenario_done = 1; |