diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-11-09 15:04:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-11-09 15:04:03 +0000 |
commit | f3ddd7ba9394318448874a8a76625356c15d454f (patch) | |
tree | 38819e15eb84064694ba1c1b57580283b12a6bbd /testsuites/psxtests/psxcancel01 | |
parent | 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-f3ddd7ba9394318448874a8a76625356c15d454f.tar.bz2 |
2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxcancel01/init.c: Initialize start time.
Diffstat (limited to 'testsuites/psxtests/psxcancel01')
-rw-r--r-- | testsuites/psxtests/psxcancel01/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxcancel01/init.c b/testsuites/psxtests/psxcancel01/init.c index 72f95b1c10..f09d127f8a 100644 --- a/testsuites/psxtests/psxcancel01/init.c +++ b/testsuites/psxtests/psxcancel01/init.c @@ -65,6 +65,7 @@ void doit( status = rtems_timer_fire_after( timer_id, 10, TSR, NULL ); assert( !status ); + start = rtems_clock_get_ticks_since_boot(); do { end = rtems_clock_get_ticks_since_boot(); } while ( !TSR_occurred && ((end - start) <= 800)); |